diff --git a/lib/Cake/Error/ErrorHandler.php b/lib/Cake/Error/ErrorHandler.php index d99e79cbe60..9da40a66047 100644 --- a/lib/Cake/Error/ErrorHandler.php +++ b/lib/Cake/Error/ErrorHandler.php @@ -169,11 +169,11 @@ protected static function _getMessage($exception) { /** * 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. * @return bool */ - protected static function _log(Exception $exception, $config) { + protected static function _log($exception, $config) { if (empty($config['log'])) { return false; }