@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | } |
171 | 171 | |
172 | 172 | /** |
173 | - * @return array |
|
173 | + * @return string[] |
|
174 | 174 | */ |
175 | 175 | public static function getStaticSystemDrivers() |
176 | 176 | { |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | } |
195 | 195 | |
196 | 196 | /** |
197 | - * @return array |
|
197 | + * @return string[] |
|
198 | 198 | */ |
199 | 199 | public static function getStaticAllDrivers() |
200 | 200 | { |
@@ -149,7 +149,7 @@ |
||
149 | 149 | |
150 | 150 | /** |
151 | 151 | * @param string $optionName |
152 | - * @return mixed|null |
|
152 | + * @return boolean |
|
153 | 153 | */ |
154 | 154 | public function isValidOption(string $optionName) |
155 | 155 | { |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | |
238 | 238 | /** |
239 | 239 | * @param \Psr\Cache\CacheItemInterface $item |
240 | - * @return mixed |
|
240 | + * @return boolean |
|
241 | 241 | * @throws phpFastCacheInvalidArgumentException |
242 | 242 | * @throws \RuntimeException |
243 | 243 | */ |
@@ -294,7 +294,7 @@ discard block |
||
294 | 294 | } |
295 | 295 | |
296 | 296 | /** |
297 | - * @return mixed|null |
|
297 | + * @return boolean |
|
298 | 298 | * @throws phpFastCacheInvalidArgumentException |
299 | 299 | */ |
300 | 300 | public function commit() |
@@ -93,7 +93,7 @@ |
||
93 | 93 | |
94 | 94 | |
95 | 95 | /** |
96 | - * @param $optionName |
|
96 | + * @param string $optionName |
|
97 | 97 | * @return mixed |
98 | 98 | */ |
99 | 99 | public function getConfigOption($optionName) |
@@ -40,6 +40,7 @@ discard block |
||
40 | 40 | |
41 | 41 | /** |
42 | 42 | * @inheritdoc |
43 | + * @param string $tagName |
|
43 | 44 | */ |
44 | 45 | public function getItemsByTag($tagName) |
45 | 46 | { |
@@ -409,7 +410,7 @@ discard block |
||
409 | 410 | |
410 | 411 | /** |
411 | 412 | * @internal This method de-register an item from $this->itemInstances |
412 | - * @param CacheItemInterface|string $item |
|
413 | + * @param CacheItemInterface $item |
|
413 | 414 | * @throws phpFastCacheInvalidArgumentException |
414 | 415 | */ |
415 | 416 | protected function deregisterItem($item) |
@@ -455,7 +456,7 @@ discard block |
||
455 | 456 | * Set the EventManager instance |
456 | 457 | * |
457 | 458 | * @param EventManager $em |
458 | - * @return ExtendedCacheItemPoolInterface |
|
459 | + * @return ExtendedCacheItemPoolTrait |
|
459 | 460 | */ |
460 | 461 | public function setEventManager(EventManager $em): ExtendedCacheItemPoolInterface |
461 | 462 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | |
133 | 133 | |
134 | 134 | /** |
135 | - * @param $keyword |
|
135 | + * @param false|string $keyword |
|
136 | 136 | * @param bool $skip |
137 | 137 | * @return string |
138 | 138 | * @throws phpFastCacheIOException |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | } |
203 | 203 | |
204 | 204 | /** |
205 | - * @param $path |
|
205 | + * @param string $path |
|
206 | 206 | * @param bool $create |
207 | 207 | * @throws phpFastCacheIOException |
208 | 208 | */ |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | |
244 | 244 | |
245 | 245 | /** |
246 | - * @param $file |
|
246 | + * @param string $file |
|
247 | 247 | * @return string |
248 | 248 | * @throws phpFastCacheIOException |
249 | 249 | */ |
@@ -172,6 +172,7 @@ |
||
172 | 172 | } |
173 | 173 | |
174 | 174 | /** |
175 | + * @param string $docId |
|
175 | 176 | * @return string|null |
176 | 177 | */ |
177 | 178 | protected function getLatestDocumentRevision($docId) |
@@ -42,7 +42,7 @@ |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @param \Psr\Cache\CacheItemInterface $item |
45 | - * @return mixed |
|
45 | + * @return boolean |
|
46 | 46 | * @throws phpFastCacheInvalidArgumentException |
47 | 47 | */ |
48 | 48 | protected function driverWrite(CacheItemInterface $item): bool |
@@ -76,7 +76,7 @@ |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * @param \Psr\Cache\CacheItemInterface $item |
79 | - * @return mixed |
|
79 | + * @return boolean |
|
80 | 80 | * @throws phpFastCacheInvalidArgumentException |
81 | 81 | * @throws phpFastCacheDriverException |
82 | 82 | */ |