@@ -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 | { |
@@ -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 | */ |
@@ -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) |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | 62 | * @param \Psr\Cache\CacheItemInterface $item |
| 63 | - * @return mixed |
|
| 63 | + * @return boolean |
|
| 64 | 64 | * @throws phpFastCacheInvalidArgumentException |
| 65 | 65 | */ |
| 66 | 66 | protected function driverWrite(CacheItemInterface $item) |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | /** |
| 147 | 147 | * @param string $optionName |
| 148 | 148 | * @param mixed $optionValue |
| 149 | - * @return bool |
|
| 149 | + * @return boolean|null |
|
| 150 | 150 | * @throws phpFastCacheInvalidArgumentException |
| 151 | 151 | */ |
| 152 | 152 | public static function isValidOption($optionName, $optionValue) |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | /** |
| 182 | - * @return array |
|
| 182 | + * @return string[] |
|
| 183 | 183 | */ |
| 184 | 184 | public static function getValidOptions() |
| 185 | 185 | { |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | } |
| 188 | 188 | |
| 189 | 189 | /** |
| 190 | - * @return array |
|
| 190 | + * @return string[] |
|
| 191 | 191 | */ |
| 192 | 192 | public static function getRequiredOptions() |
| 193 | 193 | { |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | /** |
| 209 | - * @param $keyword |
|
| 209 | + * @param string $keyword |
|
| 210 | 210 | * @param bool $reset |
| 211 | 211 | * @return PDO |
| 212 | 212 | */ |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | |
| 244 | 244 | /** |
| 245 | 245 | * @param \Psr\Cache\CacheItemInterface $item |
| 246 | - * @return mixed |
|
| 246 | + * @return boolean |
|
| 247 | 247 | * @throws phpFastCacheInvalidArgumentException |
| 248 | 248 | */ |
| 249 | 249 | protected function driverWrite(CacheItemInterface $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) |
@@ -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) |