diff --git a/lib/Cake/Cache/Cache.php b/lib/Cake/Cache/Cache.php index 2cba7dadc1e..f4be0c14836 100644 --- a/lib/Cake/Cache/Cache.php +++ b/lib/Cake/Cache/Cache.php @@ -275,10 +275,10 @@ public static function set($settings = array(), $value = null, $config = 'defaul * * @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); } /**