mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-10 05:22:41 +00:00
Forcing bool return
This commit is contained in:
parent
130e854c30
commit
fac95baee7
6 changed files with 15 additions and 8 deletions
|
@ -83,7 +83,7 @@ class CacheSession implements CakeSessionHandlerInterface {
|
|||
* @return bool Success
|
||||
*/
|
||||
public function gc($expires = null) {
|
||||
return Cache::gc(Configure::read('Session.handler.config'), $expires);
|
||||
return (bool)Cache::gc(Configure::read('Session.handler.config'), $expires);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue