@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | /** |
| 73 | 73 | * Obtain multiple CacheItems by their unique keys. |
| 74 | 74 | * |
| 75 | - * @param array $keys A list of keys that can obtained in a single operation. |
|
| 75 | + * @param string[] $keys A list of keys that can obtained in a single operation. |
|
| 76 | 76 | * |
| 77 | 77 | * @return array An associative array of CacheItem objects keyed on the cache key. |
| 78 | 78 | * |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | /** |
| 119 | 119 | * Remove multiple cache items in a single operation. |
| 120 | 120 | * |
| 121 | - * @param array $keys The array of keys to be removed. |
|
| 121 | + * @param string[] $keys The array of keys to be removed. |
|
| 122 | 122 | * |
| 123 | 123 | * @return array An associative array of 'key' => result, elements. Each array row has the key being deleted |
| 124 | 124 | * and the result of that operation. The result will be a boolean of true or false |
@@ -153,7 +153,7 @@ |
||
| 153 | 153 | * Method to set a value for a storage entry. |
| 154 | 154 | * |
| 155 | 155 | * @param string $key The storage entry identifier. |
| 156 | - * @param mixed $value The data to be stored. |
|
| 156 | + * @param string $value The data to be stored. |
|
| 157 | 157 | * @param integer $ttl The number of seconds before the stored data expires. |
| 158 | 158 | * |
| 159 | 159 | * @return boolean |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | * Method to set a value for a storage entry. |
| 113 | 113 | * |
| 114 | 114 | * @param string $key The storage entry identifier. |
| 115 | - * @param mixed $value The data to be stored. |
|
| 115 | + * @param string $value The data to be stored. |
|
| 116 | 116 | * @param integer $ttl The number of seconds before the stored data expires. |
| 117 | 117 | * |
| 118 | 118 | * @return boolean |