Completed
Pull Request — master (#69)
by
unknown
02:52
created
class/newbbtree.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     public $postArray = [];
43 43
 
44 44
     /**
45
-     * @param        $table_name
45
+     * @param        string $table_name
46 46
      * @param string $id_name
47 47
      * @param string $pid_name
48 48
      */
Please login to merge, or discard this patch.
class/permission.forum.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
     }
158 158
 
159 159
     /**
160
-     * @param  NewbbForum|int $forum
160
+     * @param  integer $forum
161 161
      * @param  bool           $topic_locked
162 162
      * @param  bool           $isAdmin
163 163
      * @return array
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|array
97 97
      */
98 98
     public function getStats($id)
Please login to merge, or discard this patch.
class/xmlrss.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
     /**
111 111
      * @param               $text
112 112
      * @param  int          $trim
113
-     * @return mixed|string
113
+     * @return string
114 114
      */
115 115
     public function cleanup($text, $trim = 0)
116 116
     {
Please login to merge, or discard this patch.
include/functions.read.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-     * @param        $type
77
+     * @param        string $type
78 78
      * @param        $items
79 79
      * @param  null  $uid
80 80
      * @return mixed
Please login to merge, or discard this patch.
include/functions.render.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     /**
24 24
      * @param $text
25
-     * @return mixed
25
+     * @return string
26 26
      */
27 27
     function newbbHtmlspecialchars(&$text)
28 28
     {
Please login to merge, or discard this patch.
include/functions.session.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @param        $name
70
+     * @param        string $name
71 71
      * @param string $string
72 72
      * @param int    $expire
73 73
      */
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     }
86 86
 
87 87
     /**
88
-     * @param             $name
88
+     * @param             string $name
89 89
      * @param  bool       $isArray
90 90
      * @return array|null
91 91
      */
Please login to merge, or discard this patch.
class/Helper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      * @param null|string $name
60 60
      * @param null|string $value
61 61
      *
62
-     * @return mixed
62
+     * @return null|string
63 63
      */
64 64
     public function setConfig($name = null, $value = null)
65 65
     {
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
 {
@@ -252,8 +252,8 @@  discard block
 block discarded – undo
252 252
 }
253 253
 
254 254
 /**
255
- * @param $_cat_id
256
- * @return mixed|string
255
+ * @param string $_cat_id
256
+ * @return string
257 257
  */
258 258
 function forum_seo_post($_cat_id)
259 259
 {
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 /**
269 269
  * @param  string $title
270 270
  * @param  bool   $withExt
271
- * @return mixed|string
271
+ * @return string
272 272
  */
273 273
 function forum_seo_title($title = '', $withExt = true)
274 274
 {
Please login to merge, or discard this patch.