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:
Kars Frijters 2015-12-07 16:25:14 +01:00
parent f662b2f5aa
commit 2fdd3030e2

View file

@ -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;
} }