mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 08:58:25 +00:00
Removed last typehint Exception
#7671 Removed last typehint Exception as it was still giving an uncaught typeError message in PHP7
This commit is contained in:
parent
f662b2f5aa
commit
2fdd3030e2
1 changed files with 2 additions and 2 deletions
|
@ -169,11 +169,11 @@ class ErrorHandler {
|
||||||
/**
|
/**
|
||||||
* Handles exception logging
|
* Handles exception logging
|
||||||
*
|
*
|
||||||
* @param Exception $exception The exception to render.
|
* @param Exception|ParseError $exception The exception to render.
|
||||||
* @param array $config An array of configuration for logging.
|
* @param array $config An array of configuration for logging.
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
protected static function _log(Exception $exception, $config) {
|
protected static function _log($exception, $config) {
|
||||||
if (empty($config['log'])) {
|
if (empty($config['log'])) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue