mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 08:27:03 +03:00
&$this should be $this for callables
This commit is contained in:
parent
57dd0f7e2c
commit
54f6f34e0d
3 changed files with 6 additions and 6 deletions
|
|
@ -31,10 +31,10 @@ class Logger extends \MailSo\Base\Collection
|
||||||
|
|
||||||
if ($bRegPhpErrorHandler)
|
if ($bRegPhpErrorHandler)
|
||||||
{
|
{
|
||||||
\set_error_handler(array(&$this, '__phpErrorHandler'));
|
\set_error_handler(array($this, '__phpErrorHandler'));
|
||||||
}
|
}
|
||||||
|
|
||||||
\register_shutdown_function(array(&$this, '__loggerShutDown'));
|
\register_shutdown_function(array($this, '__loggerShutDown'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,7 @@ abstract class NetClient
|
||||||
|
|
||||||
$rStreamContext = \stream_context_create($aStreamContextSettings);
|
$rStreamContext = \stream_context_create($aStreamContextSettings);
|
||||||
|
|
||||||
\set_error_handler(array(&$this, 'capturePhpErrorWithException'));
|
\set_error_handler(array($this, 'capturePhpErrorWithException'));
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,7 @@ abstract class AbstractPlugin
|
||||||
{
|
{
|
||||||
if ($this->oPluginManager)
|
if ($this->oPluginManager)
|
||||||
{
|
{
|
||||||
$this->oPluginManager->AddHook($sHookName, array(&$this, $sFunctionName));
|
$this->oPluginManager->AddHook($sHookName, array($this, $sFunctionName));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
|
@ -216,7 +216,7 @@ abstract class AbstractPlugin
|
||||||
{
|
{
|
||||||
if ($this->oPluginManager)
|
if ($this->oPluginManager)
|
||||||
{
|
{
|
||||||
$this->oPluginManager->AddAdditionalPartAction($sActionName, array(&$this, $sFunctionName));
|
$this->oPluginManager->AddAdditionalPartAction($sActionName, array($this, $sFunctionName));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
|
@ -226,7 +226,7 @@ abstract class AbstractPlugin
|
||||||
{
|
{
|
||||||
if ($this->oPluginManager)
|
if ($this->oPluginManager)
|
||||||
{
|
{
|
||||||
$this->oPluginManager->AddAdditionalJsonAction($sActionName, array(&$this, $sFunctionName));
|
$this->oPluginManager->AddAdditionalJsonAction($sActionName, array($this, $sFunctionName));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue