Completed
Push — master ( 204b42...65a2ef )
by Michael
03:03
created
class/helper.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public $browscap;
43 43
 
44 44
     /**
45
-     * @param $debug
45
+     * @param boolean $debug
46 46
      */
47 47
     protected function __construct($debug)
48 48
     {
@@ -145,9 +145,9 @@  discard block
 block discarded – undo
145 145
     }
146 146
 
147 147
     /**
148
-     * @param null $name
148
+     * @param string $name
149 149
      *
150
-     * @return null
150
+     * @return null|integer
151 151
      */
152 152
     public function getConfig($name = null)
153 153
     {
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
     }
171 171
 
172 172
     /**
173
-     * @param null $name
173
+     * @param string $name
174 174
      * @param null $value
175 175
      *
176 176
      * @return mixed
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     }
188 188
 
189 189
     /**
190
-     * @param $name
190
+     * @param string $name
191 191
      *
192 192
      * @return mixed
193 193
      */
Please login to merge, or discard this patch.
class/log.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
      * @param      $tolog
271 271
      * @param bool $force
272 272
      *
273
-     * @return bool
273
+     * @return boolean|null
274 274
      */
275 275
     public function store($tolog, $force = true)
276 276
     {
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
      * @param string $csvNamePrefix
460 460
      * @param string $delimiter
461 461
      *
462
-     * @return bool|string
462
+     * @return false|string
463 463
      */
464 464
     public function exportLogsToCsv($logs, $headers, $csvNamePrefix = 'list_', $delimiter = ';')
465 465
     {
@@ -662,7 +662,7 @@  discard block
 block discarded – undo
662 662
      * @param array $log_files
663 663
      * @param null  $mergeFileName
664 664
      *
665
-     * @return bool|string
665
+     * @return false|string
666 666
      */
667 667
     public function mergeFiles($log_files = array(), $mergeFileName = null)
668 668
     {
@@ -776,7 +776,7 @@  discard block
 block discarded – undo
776 776
      * @param null $log_file
777 777
      * @param null $newFileName
778 778
      *
779
-     * @return bool|string
779
+     * @return false|string
780 780
      */
781 781
     public function renameFile($log_file = null, $newFileName = null)
782 782
     {
@@ -820,7 +820,7 @@  discard block
 block discarded – undo
820 820
      * @param null $log_file
821 821
      * @param null $newFileName
822 822
      *
823
-     * @return bool|string
823
+     * @return false|string
824 824
      */
825 825
     public function copyFile($log_file = null, $newFileName = null)
826 826
     {
Please login to merge, or discard this patch.
class/phpbrowscap/Browscap.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     }
246 246
 
247 247
     /**
248
-     * @return mixed
248
+     * @return integer|null
249 249
      */
250 250
     public function getSourceVersion()
251 251
     {
@@ -1071,7 +1071,7 @@  discard block
 block discarded – undo
1071 1071
     /**
1072 1072
      * Parses the array to cache and writes the resulting PHP string to disk
1073 1073
      *
1074
-     * @return boolean False on write error, true otherwise
1074
+     * @return string False on write error, true otherwise
1075 1075
      */
1076 1076
     protected function _buildCache()
1077 1077
     {
@@ -1188,7 +1188,7 @@  discard block
 block discarded – undo
1188 1188
     /**
1189 1189
      * @param string $content
1190 1190
      *
1191
-     * @return mixed
1191
+     * @return string
1192 1192
      */
1193 1193
     protected function sanitizeContent($content)
1194 1194
     {
@@ -1240,7 +1240,7 @@  discard block
 block discarded – undo
1240 1240
      *
1241 1241
      * @param array $array The array to parse and convert
1242 1242
      *
1243
-     * @return boolean False on write error, true otherwise
1243
+     * @return string False on write error, true otherwise
1244 1244
      */
1245 1245
     protected function _array2string($array)
1246 1246
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace phpbrowscap;
4 4
 
5
-use Exception as BaseException;
6
-
7 5
 /**
8 6
  * Browscap.ini parsing class with caching and update capabilities
9 7
  *
Please login to merge, or discard this patch.
class/setting.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
277 277
     }
278 278
 
279 279
     /**
280
-     * @param null   $option
280
+     * @param string   $option
281 281
      * @param string $V
282 282
      *
283 283
      * @return array
Please login to merge, or discard this patch.
class/stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@
 block discarded – undo
260 260
      * @param string $type
261 261
      * @param int    $period
262 262
      * @param int    $limitDel
263
-     * @param null   $criteria
263
+     * @param CriteriaCompo|null   $criteria
264 264
      * @param bool   $asObject
265 265
      *
266 266
      * @return int
Please login to merge, or discard this patch.