Skip to content
Permalink
Browse files

Adding boolean return in Cache::gc

  • Loading branch information...
phpnut committed Dec 22, 2015
1 parent 577e1b0 commit 776c128fe02e043ed4b6b97f67e65db3f4396c42
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);
}
/**

0 comments on commit 776c128

Please sign in to comment.
You can’t perform that action at this time.