Commit 60033e52 authored by Phill Sparks's avatar Phill Sparks

Fixed Cache\Drivers\Driver::remember

parent bbffa96c
...@@ -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