|
@@ -166,7 +166,7 @@ class ErrorHandler
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
if ($this->previousExceptionHandler) {
|
|
if ($this->previousExceptionHandler) {
|
|
|
- call_user_func($this->previousExceptionHandler, $e);
|
|
|
|
|
|
|
+ ($this->previousExceptionHandler)($e);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (!headers_sent() && !ini_get('display_errors')) {
|
|
if (!headers_sent() && !ini_get('display_errors')) {
|
|
@@ -198,7 +198,7 @@ class ErrorHandler
|
|
|
if ($this->previousErrorHandler === true) {
|
|
if ($this->previousErrorHandler === true) {
|
|
|
return false;
|
|
return false;
|
|
|
} elseif ($this->previousErrorHandler) {
|
|
} elseif ($this->previousErrorHandler) {
|
|
|
- return call_user_func($this->previousErrorHandler, $code, $message, $file, $line, $context);
|
|
|
|
|
|
|
+ return ($this->previousErrorHandler)($code, $message, $file, $line, $context);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return true;
|
|
return true;
|