Completed
Push — final ( f5c1ca...495130 )
by Georges
23s
created
src/phpFastCache/CacheManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
194 194
     }
195 195
 
196 196
     /**
197
-     * @return array
197
+     * @return string[]
198 198
      */
199 199
     public static function getStaticAllDrivers()
200 200
     {
Please login to merge, or discard this patch.
src/phpFastCache/Core/Pool/IO/IOHelperTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
249 249
 
250 250
 
251 251
     /**
252
-     * @param $file
252
+     * @param string $file
253 253
      * @return string
254 254
      * @throws phpFastCacheIOException
255 255
      */
Please login to merge, or discard this patch.
src/phpFastCache/Core/Pool/CacheItemPoolTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
294 294
     }
295 295
 
296 296
     /**
297
-     * @return mixed|null
297
+     * @return boolean
298 298
      * @throws phpFastCacheInvalidArgumentException
299 299
      */
300 300
     public function commit()
Please login to merge, or discard this patch.
src/phpFastCache/Core/Pool/ExtendedCacheItemPoolTrait.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Cassandra/Driver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Files/Driver.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
187 187
     }
188 188
 
189 189
     /**
190
-     * @return array
190
+     * @return string[]
191 191
      */
192 192
     public static function getRequiredOptions()
193 193
     {
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Sqlite/Driver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Devfalse/Driver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Devnull/Driver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.