From 843f5c6190c9dd01defe57b8644bc4539a3703fb Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 4 Dec 2010 14:20:50 -0500 Subject: [PATCH] Fixing E_STRICT error in ConsoleErrorHandler. --- cake/console/libs/console_error_handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/console/libs/console_error_handler.php b/cake/console/libs/console_error_handler.php index 4a7b6ceed..b941a6c93 100644 --- a/cake/console/libs/console_error_handler.php +++ b/cake/console/libs/console_error_handler.php @@ -55,7 +55,7 @@ class ConsoleErrorHandler extends ErrorHandler { * * @return void */ - public static function handleException($exception) { + public static function handleException(Exception $exception) { $stderr = self::getStderr(); $stderr->write(sprintf( __("Error: %s\n%s"),