Commit 5b9f6d1b authored by Taylor Otwell's avatar Taylor Otwell

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

Fixed Cache\Drivers\Driver::remember
parents bbffa96c 60033e52
...@@ -73,7 +73,7 @@ abstract class Driver { ...@@ -73,7 +73,7 @@ abstract class Driver {
* @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;
...@@ -92,4 +92,4 @@ abstract class Driver { ...@@ -92,4 +92,4 @@ abstract class Driver {
*/ */
abstract public function forget($key); abstract public function forget($key);
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment