@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | * Must implement a get method. |
| 46 | 46 | * |
| 47 | 47 | * @param string $key Get a cached item by key. |
| 48 | - * @return mixed Returns cached item or false. |
|
| 48 | + * @return false|string Returns cached item or false. |
|
| 49 | 49 | */ |
| 50 | 50 | public function get($key) |
| 51 | 51 | { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * Returns the filename of a key. |
| 97 | 97 | * |
| 98 | 98 | * @param string $key name of the key |
| 99 | - * @return void |
|
| 99 | + * @return string |
|
| 100 | 100 | */ |
| 101 | 101 | public function filename($key) |
| 102 | 102 | { |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | * |
| 109 | 109 | * @param string $value value of the store |
| 110 | 110 | * @param integer $expiration integer value of the expiration (unix timestamp) |
| 111 | - * @return void |
|
| 111 | + * @return string |
|
| 112 | 112 | */ |
| 113 | 113 | public function createValue($value, $expiration) |
| 114 | 114 | { |
@@ -17,7 +17,6 @@ discard block |
||
| 17 | 17 | /** |
| 18 | 18 | * Initialize a new localcache. |
| 19 | 19 | * |
| 20 | - * @param string $filepath |
|
| 21 | 20 | */ |
| 22 | 21 | public function __construct(array $config) |
| 23 | 22 | { |
@@ -112,6 +111,7 @@ discard block |
||
| 112 | 111 | /** |
| 113 | 112 | * Given a user provided key, return a namespaced key. |
| 114 | 113 | * |
| 114 | + * @param string $key |
|
| 115 | 115 | * @return string |
| 116 | 116 | */ |
| 117 | 117 | public function createKey($key) |