Completed
Branch master (316fad)
by Michael
02:11
created
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/userstats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-     * @param $id
95
+     * @param integer $id
96 96
      * @return null
97 97
      */
98 98
     public function getStats($id)
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 newbb_update_stats($id, $type, $increment = 1)
39 39
     {
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
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
 /**
126 126
  * Function to check if a user has moderation permission over a forum
127 127
  *
128
- * @param  NewbbForum|int $forum
128
+ * @param  integer $forum
129 129
  * @return bool
130 130
  */
131 131
 function newbb_isAdmin($forum = 0)
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.