Skip to content
Permalink
Browse files

Remove another type hint

  • Loading branch information...
dereuromark committed Nov 9, 2015
1 parent 7982b6b commit 8c5f78bc582a7cba471e1b3cf74a4b782dc4b119
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Console/ConsoleErrorHandler.php
@@ -49,10 +49,10 @@ public static function getStderr() {
/**
* Handle an exception in the console environment. Prints a message to stderr.
*
* @param Exception $exception The exception to handle
* @param Exception|ParserError $exception The exception to handle
* @return void
*/
public function handleException(Exception $exception) {
public function handleException($exception) {
$stderr = static::getStderr();
$stderr->write(__d('cake_console', "<error>Error:</error> %s\n%s",
$exception->getMessage(),

0 comments on commit 8c5f78b

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