From 1f093187245f621102393e17844945803b792dc7 Mon Sep 17 00:00:00 2001 From: LustyRain Date: Wed, 4 Oct 2017 20:40:57 +0900 Subject: [PATCH] Fix delete space, restored return --- lib/Cake/Console/ConsoleErrorHandler.php | 2 +- lib/Cake/Utility/File.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();