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
1f09318724
commit
0f00d73c70
3 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ class ConsoleErrorHandler {
|
|||
}
|
||||
|
||||
if ($log === LOG_ERR) {
|
||||
$this->_stop(1);
|
||||
return $this->_stop(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -204,7 +204,7 @@ class BehaviorCollection extends ObjectCollection implements CakeEventListener {
|
|||
* @deprecated 3.0.0 Will be removed in 3.0. Use unload instead.
|
||||
*/
|
||||
public function detach($name) {
|
||||
$this->unload($name);
|
||||
return $this->unload($name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue