diff --git a/lib/Cake/Cache/Cache.php b/lib/Cake/Cache/Cache.php index a7a01d0a151..2cba7dadc1e 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 bool + * @return void */ public static function gc($config = 'default', $expires = null) { - return static::$_engines[$config]->gc($expires); + static::$_engines[$config]->gc($expires); } /**