diff --git a/lib/Cake/Cache/Cache.php b/lib/Cake/Cache/Cache.php index 078f2f539..aa00f542d 100644 --- a/lib/Cake/Cache/Cache.php +++ b/lib/Cake/Cache/Cache.php @@ -278,7 +278,7 @@ class Cache { * @return void */ public static function gc($config = 'default', $expires = null) { - return static::$_engines[$config]->gc($expires); + return (bool)static::$_engines[$config]->gc($expires); } /**