@@ -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) |
@@ -334,7 +334,7 @@ |
||
334 | 334 | |
335 | 335 | /** |
336 | 336 | * @internal This method de-register an item from $this->itemInstances |
337 | - * @param CacheItemInterface|string $item |
|
337 | + * @param CacheItemInterface $item |
|
338 | 338 | * @throws \InvalidArgumentException |
339 | 339 | */ |
340 | 340 | protected function deregisterItem($item) |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
144 | - * @param $keyword |
|
144 | + * @param string|false $keyword |
|
145 | 145 | * @param bool $skip |
146 | 146 | * @return string |
147 | 147 | * @throws phpFastCacheDriverException |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | |
188 | 188 | /** |
189 | 189 | * @param $filename |
190 | - * @return mixed |
|
190 | + * @return string |
|
191 | 191 | */ |
192 | 192 | protected static function cleanFileName($filename) |
193 | 193 | { |
@@ -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 \Exception |
208 | 208 | */ |
@@ -64,7 +64,7 @@ |
||
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
67 | - * @param $file |
|
67 | + * @param string $file |
|
68 | 68 | * @return string |
69 | 69 | * @throws \Exception |
70 | 70 | */ |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | |
186 | 186 | /** |
187 | 187 | * @param \Psr\Cache\CacheItemInterface $item |
188 | - * @return mixed |
|
188 | + * @return boolean |
|
189 | 189 | * @throws \InvalidArgumentException |
190 | 190 | * @throws \RuntimeException |
191 | 191 | */ |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | } |
229 | 229 | |
230 | 230 | /** |
231 | - * @return mixed|null |
|
231 | + * @return boolean |
|
232 | 232 | * @throws \InvalidArgumentException |
233 | 233 | */ |
234 | 234 | public function commit() |
@@ -126,7 +126,7 @@ |
||
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |
129 | - * @return bool |
|
129 | + * @return boolean|null |
|
130 | 130 | */ |
131 | 131 | protected function driverConnect() |
132 | 132 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | |
61 | 61 | /** |
62 | 62 | * @param \Psr\Cache\CacheItemInterface $item |
63 | - * @return mixed |
|
63 | + * @return boolean|null |
|
64 | 64 | * @throws \InvalidArgumentException |
65 | 65 | */ |
66 | 66 | protected function driverWrite(CacheItemInterface $item) |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | /** |
167 | 167 | * @param string $optionName |
168 | 168 | * @param mixed $optionValue |
169 | - * @return bool |
|
169 | + * @return boolean|null |
|
170 | 170 | * @throws \InvalidArgumentException |
171 | 171 | */ |
172 | 172 | public static function isValidOption($optionName, $optionValue) |
@@ -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 getValidOptions() |
200 | 200 | { |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | } |
203 | 203 | |
204 | 204 | /** |
205 | - * @return array |
|
205 | + * @return string[] |
|
206 | 206 | */ |
207 | 207 | public static function getRequiredOptions() |
208 | 208 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | /** |
71 | 71 | * @param \Psr\Cache\CacheItemInterface $item |
72 | - * @return mixed |
|
72 | + * @return boolean |
|
73 | 73 | * @throws \InvalidArgumentException |
74 | 74 | */ |
75 | 75 | protected function driverWrite(CacheItemInterface $item) |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | /** |
152 | - * @return bool |
|
152 | + * @return boolean|null |
|
153 | 153 | * @throws MongoConnectionException |
154 | 154 | * @throws LogicException |
155 | 155 | */ |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | } |
208 | 208 | |
209 | 209 | /** |
210 | - * @param $keyword |
|
210 | + * @param string $keyword |
|
211 | 211 | * @param bool $reset |
212 | 212 | * @return PDO |
213 | 213 | */ |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | |
245 | 245 | /** |
246 | 246 | * @param \Psr\Cache\CacheItemInterface $item |
247 | - * @return mixed |
|
247 | + * @return boolean |
|
248 | 248 | * @throws \InvalidArgumentException |
249 | 249 | */ |
250 | 250 | protected function driverWrite(CacheItemInterface $item) |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | } |
382 | 382 | |
383 | 383 | /** |
384 | - * @return bool |
|
384 | + * @return boolean|null |
|
385 | 385 | */ |
386 | 386 | protected function driverConnect() |
387 | 387 | { |