mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Correcting return
This commit is contained in:
parent
439a33c708
commit
6e09e64432
1 changed files with 2 additions and 2 deletions
|
@ -275,10 +275,10 @@ class Cache {
|
||||||
*
|
*
|
||||||
* @param string $config [optional] The config name you wish to have garbage collected. Defaults to 'default'
|
* @param string $config [optional] The config name you wish to have garbage collected. Defaults to 'default'
|
||||||
* @param int $expires [optional] An expires timestamp. Defaults to NULL
|
* @param int $expires [optional] An expires timestamp. Defaults to NULL
|
||||||
* @return void
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function gc($config = 'default', $expires = null) {
|
public static function gc($config = 'default', $expires = null) {
|
||||||
static::$_engines[$config]->gc($expires);
|
return static::$_engines[$config]->gc($expires);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue