Adding boolean return in Cache::gc

This commit is contained in:
Larry E. Masters 2015-12-22 16:15:53 -05:00
parent 577e1b089f
commit 776c128fe0

View file

@ -275,10 +275,10 @@ class Cache {
*
* @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
* @return void
* @return boolean
*/
public static function gc($config = 'default', $expires = null) {
static::$_engines[$config]->gc($expires);
return static::$_engines[$config]->gc($expires);
}
/**