Fixed Cache\Drivers\Driver::remember

This commit is contained in:
Phill Sparks 2011-11-18 13:06:10 +00:00
parent bbffa96c2d
commit 60033e52d3
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;