@@ -20,7 +20,6 @@ discard block |
||
20 | 20 | trait PathSeekerTrait |
21 | 21 | { |
22 | 22 | /** |
23 | - * @param bool $skip_create_path |
|
24 | 23 | * @param $config |
25 | 24 | * @return string |
26 | 25 | * @throws \Exception |
@@ -155,7 +154,7 @@ discard block |
||
155 | 154 | |
156 | 155 | /** |
157 | 156 | * @param $filename |
158 | - * @return mixed |
|
157 | + * @return string |
|
159 | 158 | */ |
160 | 159 | protected static function cleanFileName($filename) |
161 | 160 | { |
@@ -170,7 +169,7 @@ discard block |
||
170 | 169 | } |
171 | 170 | |
172 | 171 | /** |
173 | - * @param $path |
|
172 | + * @param string $path |
|
174 | 173 | * @param bool $create |
175 | 174 | * @throws \Exception |
176 | 175 | */ |
@@ -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() |
@@ -128,7 +128,7 @@ |
||
128 | 128 | } |
129 | 129 | |
130 | 130 | /** |
131 | - * @return bool |
|
131 | + * @return boolean|null |
|
132 | 132 | */ |
133 | 133 | public function driverConnect() |
134 | 134 | { |
@@ -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) |
@@ -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) |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * @param $key |
73 | - * @return mixed |
|
73 | + * @return boolean |
|
74 | 74 | */ |
75 | 75 | public function driverRead($key) |
76 | 76 | { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | |
56 | 56 | /** |
57 | 57 | * @param \Psr\Cache\CacheItemInterface $item |
58 | - * @return mixed |
|
58 | + * @return boolean|null |
|
59 | 59 | * @throws \InvalidArgumentException |
60 | 60 | */ |
61 | 61 | public function driverWrite(CacheItemInterface $item) |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | } |
129 | 129 | |
130 | 130 | /** |
131 | - * @return bool |
|
131 | + * @return boolean|null |
|
132 | 132 | */ |
133 | 133 | public function driverConnect() |
134 | 134 | { |
@@ -294,7 +294,7 @@ discard block |
||
294 | 294 | } |
295 | 295 | |
296 | 296 | /** |
297 | - * @return mixed|null |
|
297 | + * @return boolean |
|
298 | 298 | * @throws \InvalidArgumentException |
299 | 299 | */ |
300 | 300 | public function commit() |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | /** |
69 | 69 | * @param \Psr\Cache\CacheItemInterface $item |
70 | - * @return mixed |
|
70 | + * @return boolean |
|
71 | 71 | * @throws \InvalidArgumentException |
72 | 72 | */ |
73 | 73 | public function driverWrite(CacheItemInterface $item) |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | } |
143 | 143 | |
144 | 144 | /** |
145 | - * @return bool |
|
145 | + * @return boolean|null |
|
146 | 146 | * @throws MongoConnectionException |
147 | 147 | * @throws LogicException |
148 | 148 | */ |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | |
182 | 182 | /** |
183 | 183 | * @param \Psr\Cache\CacheItemInterface $item |
184 | - * @return bool |
|
184 | + * @return boolean|null |
|
185 | 185 | * @throws \InvalidArgumentException |
186 | 186 | */ |
187 | 187 | public function driverIsHit(CacheItemInterface $item) |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | } |
212 | 212 | |
213 | 213 | /** |
214 | - * @param $keyword |
|
214 | + * @param string $keyword |
|
215 | 215 | * @param bool $reset |
216 | 216 | * @return PDO |
217 | 217 | */ |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | |
249 | 249 | /** |
250 | 250 | * @param \Psr\Cache\CacheItemInterface $item |
251 | - * @return mixed |
|
251 | + * @return boolean |
|
252 | 252 | * @throws \InvalidArgumentException |
253 | 253 | */ |
254 | 254 | public function driverWrite(CacheItemInterface $item) |
@@ -399,7 +399,7 @@ discard block |
||
399 | 399 | } |
400 | 400 | |
401 | 401 | /** |
402 | - * @return bool |
|
402 | + * @return boolean|null |
|
403 | 403 | */ |
404 | 404 | public function driverConnect() |
405 | 405 | { |