@@ -57,7 +57,7 @@ |
||
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * @param \Psr\Cache\CacheItemInterface $item |
| 60 | - * @return mixed |
|
| 60 | + * @return boolean |
|
| 61 | 61 | * @throws \InvalidArgumentException |
| 62 | 62 | */ |
| 63 | 63 | public function driverWrite(CacheItemInterface $item) |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * @param \Psr\Cache\CacheItemInterface $item |
| 56 | - * @return mixed |
|
| 56 | + * @return boolean |
|
| 57 | 57 | * @throws \InvalidArgumentException |
| 58 | 58 | */ |
| 59 | 59 | public function driverWrite(CacheItemInterface $item) |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | 114 | * @param \Psr\Cache\CacheItemInterface $item |
| 115 | - * @return bool |
|
| 115 | + * @return boolean|null |
|
| 116 | 116 | * @throws \InvalidArgumentException |
| 117 | 117 | */ |
| 118 | 118 | public function driverIsHit(CacheItemInterface $item) |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | 159 | * @param \Psr\Cache\CacheItemInterface $item |
| 160 | - * @return mixed |
|
| 160 | + * @return boolean |
|
| 161 | 161 | * @throws \InvalidArgumentException |
| 162 | 162 | */ |
| 163 | 163 | public function save(CacheItemInterface $item) |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | /** |
| 178 | - * @return mixed|null |
|
| 178 | + * @return boolean |
|
| 179 | 179 | * @throws \InvalidArgumentException |
| 180 | 180 | */ |
| 181 | 181 | public function commit() |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * @param \Psr\Cache\CacheItemInterface $item |
| 60 | - * @return mixed |
|
| 60 | + * @return boolean |
|
| 61 | 61 | * @throws \InvalidArgumentException |
| 62 | 62 | */ |
| 63 | 63 | public function driverWrite(CacheItemInterface $item) |
@@ -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) |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * @param \Psr\Cache\CacheItemInterface $item |
| 60 | - * @return mixed |
|
| 60 | + * @return boolean |
|
| 61 | 61 | * @throws \InvalidArgumentException |
| 62 | 62 | */ |
| 63 | 63 | public 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 \InvalidArgumentException |
| 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 \InvalidArgumentException |
| 151 | 151 | */ |
| 152 | 152 | public static function isValidOption($optionName, $optionValue) |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | } |
| 175 | 175 | |
| 176 | 176 | /** |
| 177 | - * @return array |
|
| 177 | + * @return string[] |
|
| 178 | 178 | */ |
| 179 | 179 | public static function getValidOptions() |
| 180 | 180 | { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | /** |
| 185 | - * @return array |
|
| 185 | + * @return string[] |
|
| 186 | 186 | */ |
| 187 | 187 | public static function getRequiredOptions() |
| 188 | 188 | { |
@@ -46,6 +46,7 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * @inheritdoc |
| 49 | + * @param string $tagName |
|
| 49 | 50 | */ |
| 50 | 51 | public function getItemsByTag($tagName) |
| 51 | 52 | { |
@@ -416,7 +417,7 @@ discard block |
||
| 416 | 417 | |
| 417 | 418 | /** |
| 418 | 419 | * @internal This method de-register an item from $this->itemInstances |
| 419 | - * @param CacheItemInterface|string $item |
|
| 420 | + * @param CacheItemInterface $item |
|
| 420 | 421 | * @throws \InvalidArgumentException |
| 421 | 422 | */ |
| 422 | 423 | protected function deregisterItem($item) |
@@ -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 | */ |