@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * @return int|bool Return size in octet or false if no information available |
|
55 | + * @return string Return size in octet or false if no information available |
|
56 | 56 | */ |
57 | 57 | public function getSize() |
58 | 58 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * @return mixed |
|
63 | + * @return string |
|
64 | 64 | */ |
65 | 65 | public function getData() |
66 | 66 | { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
71 | - * @param $info |
|
71 | + * @param string $info |
|
72 | 72 | * @return $this |
73 | 73 | */ |
74 | 74 | public function setInfo($info) |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | |
131 | 131 | |
132 | 132 | /** |
133 | - * @param $keyword |
|
133 | + * @param false|string $keyword |
|
134 | 134 | * @param bool $skip |
135 | 135 | * @return string |
136 | 136 | * @throws phpFastCacheIOException |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | |
198 | 198 | /** |
199 | 199 | * @param $filename |
200 | - * @return mixed |
|
200 | + * @return string |
|
201 | 201 | */ |
202 | 202 | protected static function cleanFileName($filename) |
203 | 203 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | } |
213 | 213 | |
214 | 214 | /** |
215 | - * @param $path |
|
215 | + * @param string $path |
|
216 | 216 | * @param bool $create |
217 | 217 | * @throws phpFastCacheIOException |
218 | 218 | */ |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | |
250 | 250 | |
251 | 251 | /** |
252 | - * @param $file |
|
252 | + * @param string $file |
|
253 | 253 | * @return string |
254 | 254 | * @throws phpFastCacheIOException |
255 | 255 | */ |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | } |
236 | 236 | |
237 | 237 | /** |
238 | - * @return array |
|
238 | + * @return ExtendedCacheItemPoolInterface[] |
|
239 | 239 | */ |
240 | 240 | public static function getDefaultConfig() |
241 | 241 | { |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | } |
244 | 244 | |
245 | 245 | /** |
246 | - * @return array |
|
246 | + * @return string[] |
|
247 | 247 | */ |
248 | 248 | public static function getStaticSystemDrivers() |
249 | 249 | { |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | } |
269 | 269 | |
270 | 270 | /** |
271 | - * @return array |
|
271 | + * @return string[] |
|
272 | 272 | */ |
273 | 273 | public static function getStaticAllDrivers() |
274 | 274 | { |
@@ -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() |
@@ -38,6 +38,7 @@ discard block |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @inheritdoc |
41 | + * @param string $tagName |
|
41 | 42 | */ |
42 | 43 | public function getItemsByTag($tagName) |
43 | 44 | { |
@@ -408,7 +409,7 @@ discard block |
||
408 | 409 | |
409 | 410 | /** |
410 | 411 | * @internal This method de-register an item from $this->itemInstances |
411 | - * @param CacheItemInterface|string $item |
|
412 | + * @param CacheItemInterface $item |
|
412 | 413 | * @throws phpFastCacheInvalidArgumentException |
413 | 414 | */ |
414 | 415 | protected function deregisterItem($item) |
@@ -62,7 +62,7 @@ |
||
62 | 62 | |
63 | 63 | /** |
64 | 64 | * @param \Psr\Cache\CacheItemInterface $item |
65 | - * @return mixed |
|
65 | + * @return boolean |
|
66 | 66 | * @throws phpFastCacheInvalidArgumentException |
67 | 67 | */ |
68 | 68 | protected function driverWrite(CacheItemInterface $item) |
@@ -54,7 +54,7 @@ |
||
54 | 54 | |
55 | 55 | /** |
56 | 56 | * @param \Psr\Cache\CacheItemInterface $item |
57 | - * @return mixed |
|
57 | + * @return boolean |
|
58 | 58 | * @throws phpFastCacheInvalidArgumentException |
59 | 59 | */ |
60 | 60 | protected function driverWrite(CacheItemInterface $item) |
@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | /** |
55 | 55 | * @param \Psr\Cache\CacheItemInterface $item |
56 | - * @return mixed |
|
56 | + * @return boolean |
|
57 | 57 | * @throws phpFastCacheInvalidArgumentException |
58 | 58 | */ |
59 | 59 | protected function driverWrite(CacheItemInterface $item) |
@@ -54,7 +54,7 @@ |
||
54 | 54 | |
55 | 55 | /** |
56 | 56 | * @param \Psr\Cache\CacheItemInterface $item |
57 | - * @return mixed |
|
57 | + * @return boolean |
|
58 | 58 | * @throws phpFastCacheInvalidArgumentException |
59 | 59 | */ |
60 | 60 | protected function driverWrite(CacheItemInterface $item) |