mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix delete space, restored return
This commit is contained in:
parent
8bb07c0fd7
commit
1f09318724
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ class ConsoleErrorHandler {
|
|||
));
|
||||
$code = $exception->getCode();
|
||||
$code = ($code && is_int($code)) ? $code : 1;
|
||||
$this->_stop($code);
|
||||
return $this->_stop($code);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue