Merge pull request #161 from sparksp/develop/fix-cache

Fixed Cache\Drivers\Driver::remember
This commit is contained in:
Taylor Otwell 2011-11-18 05:17:14 -08:00
commit 5b9f6d1bd3
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ abstract public function put($key, $value, $minutes);
* @param int $minutes * @param int $minutes
* @return mixed * @return mixed
*/ */
public function remember($key, $value, $minutes) public function remember($key, $default, $minutes)
{ {
if ( ! is_null($item = $this->get($key, null))) return $item; if ( ! is_null($item = $this->get($key, null))) return $item;