Completed
Push — master ( 525594...a88ff3 )
by Michael
12s
created
class/stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      * @param       $id
67 67
      * @param       $type
68 68
      * @param  int  $increment
69
-     * @return bool
69
+     * @return false|null
70 70
      */
71 71
     public function update($id, $type, $increment = 1)
72 72
     {
Please login to merge, or discard this patch.
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.
seo_url.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 ob_start('seo_urls');
8 8
 
9 9
 /**
10
- * @param $s
10
+ * @param string $s
11 11
  * @return mixed
12 12
  */
13 13
 function seo_urls($s)
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 }
175 175
 
176 176
 /**
177
- * @param $_cat_id
177
+ * @param string $_cat_id
178 178
  * @return bool|mixed
179 179
  */
180 180
 function forum_seo_cat($_cat_id)
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 }
203 203
 
204 204
 /**
205
- * @param $_cat_id
205
+ * @param string $_cat_id
206 206
  * @return bool|mixed
207 207
  */
208 208
 function forum_seo_forum($_cat_id)
@@ -230,8 +230,8 @@  discard block
 block discarded – undo
230 230
 }
231 231
 
232 232
 /**
233
- * @param $_cat_id
234
- * @return mixed|string
233
+ * @param string $_cat_id
234
+ * @return string
235 235
  */
236 236
 function forum_seo_topic($_cat_id)
237 237
 {
@@ -244,8 +244,8 @@  discard block
 block discarded – undo
244 244
 }
245 245
 
246 246
 /**
247
- * @param $_cat_id
248
- * @return mixed|string
247
+ * @param string $_cat_id
248
+ * @return string
249 249
  */
250 250
 function forum_seo_post($_cat_id)
251 251
 {
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
 /**
261 261
  * @param  string $title
262 262
  * @param  bool   $withExt
263
- * @return mixed|string
263
+ * @return string
264 264
  */
265 265
 function forum_seo_title($title = '', $withExt = true)
266 266
 {
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.