Skip to content

Commit

Permalink
Removed last typehint Exception
Browse files Browse the repository at this point in the history
#7671 Removed last typehint Exception as it was still giving an uncaught typeError message in PHP7
  • Loading branch information
kfrijters committed Dec 7, 2015
1 parent f662b2f commit 2fdd303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Error/ErrorHandler.php
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2fdd303

Please sign in to comment.