diff --git a/lib/Cake/Console/ConsoleErrorHandler.php b/lib/Cake/Console/ConsoleErrorHandler.php index b12560e30..6a07d0128 100644 --- a/lib/Cake/Console/ConsoleErrorHandler.php +++ b/lib/Cake/Console/ConsoleErrorHandler.php @@ -60,7 +60,7 @@ class ConsoleErrorHandler { )); $code = $exception->getCode(); $code = ($code && is_int($code)) ? $code : 1; - $this->_stop($code); + return $this->_stop($code); } /** diff --git a/lib/Cake/Utility/File.php b/lib/Cake/Utility/File.php index 344e00df9..a2e704143 100644 --- a/lib/Cake/Utility/File.php +++ b/lib/Cake/Utility/File.php @@ -582,7 +582,7 @@ class File { public function clearStatCache($all = false) { if ($all === false && version_compare(PHP_VERSION, '5.3.0') >= 0) { clearstatcache(true, $this->path); - return ; + return; } clearstatcache();