Remove default value from cache driver interface.
This commit is contained in:
3
system/cache/driver.php
vendored
3
system/cache/driver.php
vendored
@@ -14,10 +14,9 @@ interface Driver {
|
|||||||
* Get an item from the cache.
|
* Get an item from the cache.
|
||||||
*
|
*
|
||||||
* @param string $key
|
* @param string $key
|
||||||
* @param mixed $default
|
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function get($key, $default = null);
|
public function get($key);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Write an item to the cache.
|
* Write an item to the cache.
|
||||||
|
|||||||
Reference in New Issue
Block a user