Browse Source

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

Fixed Cache\Drivers\Driver::remember
Taylor Otwell 13 years ago
parent
commit
5b9f6d1bd3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/cache/drivers/driver.php

+ 2 - 2
laravel/cache/drivers/driver.php

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