@@ -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 |
@@ -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 |
@@ -76,7 +76,7 @@ |
||
76 | 76 | * |
77 | 77 | * @param string $key The storage entry identifier. |
78 | 78 | * |
79 | - * @return CacheItemInterface |
|
79 | + * @return Item |
|
80 | 80 | * |
81 | 81 | * @since 1.0 |
82 | 82 | */ |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |