Completed
Pull Request — master (#69)
by
unknown
02:52
created
class/topic.renderer.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
     }
330 330
 
331 331
     /**
332
-     * @param $var
332
+     * @param string $var
333 333
      * @param $val
334 334
      */
335 335
     public function parseVar($var, $val)
@@ -458,7 +458,7 @@  discard block
 block discarded – undo
458 458
 
459 459
     /**
460 460
      * @param  null $header
461
-     * @param  null $var
461
+     * @param  string $var
462 462
      * @return array|null
463 463
      */
464 464
     public function getSort($header = null, $var = null)
@@ -582,7 +582,7 @@  discard block
 block discarded – undo
582 582
 
583 583
     // END irmtfan add Display topic headers function
584 584
     /**
585
-     * @param  null $type
585
+     * @param  integer $type
586 586
      * @param  null $status
587 587
      * @return array
588 588
      */
@@ -739,7 +739,7 @@  discard block
 block discarded – undo
739 739
 
740 740
     /**
741 741
      * @param  Smarty $xoopsTpl
742
-     * @return bool
742
+     * @return boolean|null
743 743
      */
744 744
     public function buildTypes(Smarty $xoopsTpl)
745 745
     {
@@ -765,7 +765,7 @@  discard block
 block discarded – undo
765 765
 
766 766
     /**
767 767
      * @param  Smarty $xoopsTpl
768
-     * @return bool
768
+     * @return boolean|null
769 769
      */
770 770
     public function buildCurrent(Smarty $xoopsTpl)
771 771
     {
Please login to merge, or discard this patch.
class/tree.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         /**
38 38
          * @param      $objectArr
39
-         * @param null $rootId
39
+         * @param string $rootId
40 40
          */
41 41
         public function __construct(&$objectArr, $rootId = null)
42 42
         {
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         /**
162 162
          * Make a tree for the array
163 163
          *
164
-         * @param  int|string $key   top key of the tree
164
+         * @param  integer $key   top key of the tree
165 165
          * @param  integer    $depth level of subcategories
166 166
          * @return array
167 167
          * @internal param array $tags fields to be used
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
         /**
213 213
          * Make a tree for the array
214 214
          *
215
-         * @param  int|string $key   top key of the tree
215
+         * @param  integer $key   top key of the tree
216 216
          * @param  array      $tags  fields to be used
217 217
          * @param  integer    $depth level of subcategories
218 218
          * @return array
Please login to merge, or discard this patch.
class/user.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 /**
17 17
  * @param $RPG
18 18
  * @param $RPGDIFF
19
- * @return array|number
19
+ * @return string
20 20
  */
21 21
 function newbb_calculateLevel($RPG, $RPGDIFF)
22 22
 {
Please login to merge, or discard this patch.
class/read.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 
103 103
     /**
104 104
      * @param XoopsDatabase|null $db
105
-     * @param                    $type
105
+     * @param                    string $type
106 106
      */
107 107
     public function __construct(XoopsDatabase $db, $type)
108 108
     {
Please login to merge, or discard this patch.
class/permission.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @param $name
43
+     * @param string $name
44 44
      * @return mixed
45 45
      */
46 46
     public function loadHandler($name)
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @param         $type
120
+     * @param         string $type
121 121
      * @param  string $gperm_name
122 122
      * @param  int    $id
123 123
      * @return bool
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     }
169 169
 
170 170
     /**
171
-     * @param $type
171
+     * @param string $type
172 172
      * @param $perm_name
173 173
      * @return array
174 174
      */
Please login to merge, or discard this patch.
include/functions.user.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 /**
125 125
  * Function to check if a user has moderation permission over a forum
126 126
  *
127
- * @param  NewbbForum|int $forum
127
+ * @param  integer $forum
128 128
  * @return bool
129 129
  */
130 130
 function newbbIsAdmin($forum = 0)
Please login to merge, or discard this patch.
include/functions.stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      * @param        $id
34 34
      * @param        $type
35 35
      * @param  int   $increment
36
-     * @return mixed
36
+     * @return false|null
37 37
      */
38 38
     function newbbUpdateStats($id, $type, $increment = 1)
39 39
     {
Please login to merge, or discard this patch.
include/functions.welcome.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     define('NEWBB_FUNCTIONS_WELCOME', true);
19 19
 
20 20
     /**
21
-     * @return bool
21
+     * @return false|string
22 22
      */
23 23
     function newbbWelcome()
24 24
     {
Please login to merge, or discard this patch.
class/uploader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * Constructor
26 26
      *
27 27
      * @param string           $uploadDir
28
-     * @param array|int|string $allowedMimeTypes
28
+     * @param integer $allowedMimeTypes
29 29
      * @param int              $maxFileSize
30 30
      * @param int              $maxWidth
31 31
      * @param int              $maxHeight
Please login to merge, or discard this patch.