@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * Initializes the object instance. |
31 | 31 | * |
32 | 32 | * @param array $config Configuration for Predis client if instance should be created |
33 | - * @param Predis\Client $client Predis client instance |
|
33 | + * @param \Predis\Client $client Predis client instance |
|
34 | 34 | */ |
35 | 35 | public function __construct( array $config, \Predis\Client $client ) |
36 | 36 | { |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | * |
68 | 68 | * @inheritDoc |
69 | 69 | * |
70 | - * @param \Traversable|array $keys List of key strings that identify the cache entries |
|
70 | + * @param string[] $keys List of key strings that identify the cache entries |
|
71 | 71 | * that should be removed |
72 | 72 | */ |
73 | 73 | public function deleteMultiple( $keys ) |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * |
86 | 86 | * @inheritDoc |
87 | 87 | * |
88 | - * @param array $tags List of tag strings that are associated to one or more |
|
88 | + * @param string[] $tags List of tag strings that are associated to one or more |
|
89 | 89 | * cache entries that should be removed |
90 | 90 | */ |
91 | 91 | public function deleteByTags( array $tags ) |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * @inheritDoc |
118 | 118 | * |
119 | 119 | * @param string $key Path to the requested value like product/id/123 |
120 | - * @param mixed $default Value returned if requested key isn't found |
|
120 | + * @param string|false $default Value returned if requested key isn't found |
|
121 | 121 | * @return mixed Value associated to the requested key. If no value for the |
122 | 122 | * key is found in the cache, the given default value is returned |
123 | 123 | */ |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | * |
137 | 137 | * @inheritDoc |
138 | 138 | * |
139 | - * @param \Traversable|array $keys List of key strings for the requested cache entries |
|
139 | + * @param string[] $keys List of key strings for the requested cache entries |
|
140 | 140 | * @param mixed $default Default value to return for keys that do not exist |
141 | 141 | * @return array Associative list of key/value pairs for the requested cache |
142 | 142 | * entries. If a cache entry doesn't exist, neither its key nor a value |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | * |
174 | 174 | * @inheritDoc |
175 | 175 | * |
176 | - * @param array $tags List of tag strings associated to the requested cache entries |
|
176 | + * @param string[] $tags List of tag strings associated to the requested cache entries |
|
177 | 177 | * @return array Associative list of key/value pairs for the requested cache |
178 | 178 | * entries. If a tag isn't associated to any cache entry, nothing is returned |
179 | 179 | * for that tag |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * @inheritDoc |
213 | 213 | * |
214 | 214 | * @param string $key Key string for the given value like product/id/123 |
215 | - * @param mixed $value Value string that should be stored for the given key |
|
215 | + * @param string $value Value string that should be stored for the given key |
|
216 | 216 | * @param int|string|null $expires Date/time string in "YYYY-MM-DD HH:mm:ss" |
217 | 217 | * format or as TTL value when the cache entry expires |
218 | 218 | * @param array $tags List of tag strings that should be assoicated to the |