Completed
Push — v5 ( 9d8603...bd77af )
by Georges
02:51 queued 22s
created
src/phpFastCache/Core/StandardPsr6StructureTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
175 175
     }
176 176
 
177 177
     /**
178
-     * @return mixed|null
178
+     * @return boolean
179 179
      * @throws \InvalidArgumentException
180 180
      */
181 181
     public function commit()
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Couchbase/Driver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @return bool
131
+     * @return boolean|null
132 132
      */
133 133
     public function driverConnect()
134 134
     {
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Devtrue/Driver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * @param $key
73
-     * @return mixed
73
+     * @return boolean
74 74
      */
75 75
     public function driverRead($key)
76 76
     {
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Sqlite/Driver.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
399 399
     }
400 400
 
401 401
     /**
402
-     * @return bool
402
+     * @return boolean|null
403 403
      */
404 404
     public function driverConnect()
405 405
     {
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Leveldb/Driver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @return bool
131
+     * @return boolean|null
132 132
      */
133 133
     public function driverConnect()
134 134
     {
Please login to merge, or discard this patch.
src/phpFastCache/Cache/DriverBaseTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
 
116 116
 
117 117
     /**
118
-     * @param $file
118
+     * @param string $file
119 119
      * @return string
120 120
      * @throws \Exception
121 121
      */
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
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
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)
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     /**
212 212
      * @param string $optionName
213 213
      * @param mixed $optionValue
214
-     * @return bool
214
+     * @return boolean|null
215 215
      * @throws \InvalidArgumentException
216 216
      */
217 217
     public static function isValidOption($optionName, $optionValue)
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
         }
240 240
     }
241 241
     /**
242
-     * @return array
242
+     * @return string[]
243 243
      */
244 244
     public static function getValidOptions()
245 245
     {
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
     }
248 248
 
249 249
     /**
250
-     * @return array
250
+     * @return string[]
251 251
      */
252 252
     public static function getRequiredOptions()
253 253
     {
Please login to merge, or discard this patch.
src/phpFastCache/Core/PathSeekerTrait.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@  discard block
 block discarded – undo
25 25
     public $tmp = [];
26 26
 
27 27
     /**
28
-     * @param bool $skip_create_path
29 28
      * @param $config
30 29
      * @return string
31 30
      * @throws \Exception
@@ -118,7 +117,7 @@  discard block
 block discarded – undo
118 117
     }
119 118
 
120 119
     /**
121
-     * @param $keyword
120
+     * @param string|false $keyword
122 121
      * @param bool $skip
123 122
      * @return string
124 123
      * @throws phpFastCacheDriverException
@@ -165,7 +164,7 @@  discard block
 block discarded – undo
165 164
 
166 165
     /**
167 166
      * @param $filename
168
-     * @return mixed
167
+     * @return string
169 168
      */
170 169
     protected static function cleanFileName($filename)
171 170
     {
@@ -180,7 +179,7 @@  discard block
 block discarded – undo
180 179
     }
181 180
 
182 181
     /**
183
-     * @param $path
182
+     * @param string $path
184 183
      * @param bool $create
185 184
      * @throws \Exception
186 185
      */
Please login to merge, or discard this patch.
src/phpFastCache/Entities/driverStatistic.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     protected $rawData;
45 45
 
46 46
     /**
47
-     * @return string|bool Return infos or false if no information available
47
+     * @return string Return infos or false if no information available
48 48
      */
49 49
     public function getInfo()
50 50
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.