Skip to content
Permalink
Browse files

Removed last typehint Exception

#7671 Removed last typehint Exception as it was still giving an uncaught typeError message in PHP7
  • Loading branch information...
m1nd53t committed Dec 7, 2015
1 parent f662b2f commit 2fdd3030e22794d638313a83cf4222ed14407779
Showing with 2 additions and 2 deletions.
  1. +2 −2 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;
}

0 comments on commit 2fdd303

Please sign in to comment.
You can’t perform that action at this time.