Completed
Push — master ( 507df7...d00737 )
by Michael
10s
created
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.
class/helper.php 1 patch
Doc Comments   +2 added lines, -2 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
     {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 
151 151
 
152 152
     /**
153
-     * @param null $name
153
+     * @param string $name
154 154
      * @param null $value
155 155
      *
156 156
      * @return mixed
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
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
      * @param      $tolog
274 274
      * @param bool $force
275 275
      *
276
-     * @return bool
276
+     * @return boolean|null
277 277
      */
278 278
     public function store($tolog, $force = true)
279 279
     {
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
      * @param string $csvNamePrefix
463 463
      * @param string $delimiter
464 464
      *
465
-     * @return bool|string
465
+     * @return false|string
466 466
      */
467 467
     public function exportLogsToCsv($logs, $headers, $csvNamePrefix = 'list_', $delimiter = ';')
468 468
     {
@@ -666,7 +666,7 @@  discard block
 block discarded – undo
666 666
      * @param array $log_files
667 667
      * @param null  $mergeFileName
668 668
      *
669
-     * @return bool|string
669
+     * @return false|string
670 670
      */
671 671
     public function mergeFiles($log_files = [], $mergeFileName = null)
672 672
     {
@@ -780,7 +780,7 @@  discard block
 block discarded – undo
780 780
      * @param null $log_file
781 781
      * @param null $newFileName
782 782
      *
783
-     * @return bool|string
783
+     * @return false|string
784 784
      */
785 785
     public function renameFile($log_file = null, $newFileName = null)
786 786
     {
@@ -824,7 +824,7 @@  discard block
 block discarded – undo
824 824
      * @param null $log_file
825 825
      * @param null $newFileName
826 826
      *
827
-     * @return bool|string
827
+     * @return false|string
828 828
      */
829 829
     public function copyFile($log_file = null, $newFileName = null)
830 830
     {
Please login to merge, or discard this patch.