Skip to content

Commit

Permalink
Adding boolean return in Cache::gc
Browse files Browse the repository at this point in the history
  • Loading branch information
phpnut committed Dec 22, 2015
1 parent 577e1b0 commit 776c128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Cache/Cache.php
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 776c128

Please sign in to comment.