Completed
Push — master ( 249590...ebae0d )
by Michael
05:58
created
class/ReadHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 
88 88
     /**
89 89
      * @param \XoopsDatabase     $db
90
-     * @param                    $type
90
+     * @param                    string $type
91 91
      */
92 92
     public function __construct(\XoopsDatabase $db, $type)
93 93
     {
Please login to merge, or discard this patch.
class/ReadtopicHandler.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -121,8 +121,8 @@  discard block
 block discarded – undo
121 121
     }
122 122
 
123 123
     /**
124
-     * @param $status
125
-     * @param $forum_id
124
+     * @param integer $status
125
+     * @param integer $forum_id
126 126
      * @return bool
127 127
      */
128 128
     public function setReadItemsCookie($status, $forum_id)
@@ -154,8 +154,8 @@  discard block
 block discarded – undo
154 154
     }
155 155
 
156 156
     /**
157
-     * @param $status
158
-     * @param $forum_id
157
+     * @param integer $status
158
+     * @param integer $forum_id
159 159
      * @param $uid
160 160
      * @return bool
161 161
      */
Please login to merge, or discard this patch.
class/StatsHandler.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/TopicHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
 
195 195
     /**
196 196
      * @param $topic_id
197
-     * @return null|\Post
197
+     * @return null|Post
198 198
      */
199 199
     public function &getTopPost($topic_id)
200 200
     {
Please login to merge, or discard this patch.
class/TopicRenderer.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
     }
334 334
 
335 335
     /**
336
-     * @param $var
336
+     * @param string $var
337 337
      * @param $val
338 338
      */
339 339
     public function parseVar($var, $val)
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
 
462 462
     /**
463 463
      * @param  null $header
464
-     * @param  null $var
464
+     * @param  string $var
465 465
      * @return array|null
466 466
      */
467 467
     public function getSort($header = null, $var = null)
@@ -587,7 +587,7 @@  discard block
 block discarded – undo
587 587
     // END irmtfan add Display topic headers function
588 588
 
589 589
     /**
590
-     * @param  null $type
590
+     * @param  integer $type
591 591
      * @param  null $status
592 592
      * @return array
593 593
      */
@@ -753,7 +753,7 @@  discard block
 block discarded – undo
753 753
 
754 754
     /**
755 755
      * @param  \Smarty $xoopsTpl
756
-     * @return bool
756
+     * @return boolean|null
757 757
      */
758 758
     public function buildTypes(\Smarty $xoopsTpl)
759 759
     {
@@ -780,7 +780,7 @@  discard block
 block discarded – undo
780 780
 
781 781
     /**
782 782
      * @param  \Smarty $xoopsTpl
783
-     * @return bool
783
+     * @return boolean|null
784 784
      */
785 785
     public function buildCurrent(\Smarty $xoopsTpl)
786 786
     {
Please login to merge, or discard this patch.
class/Tree.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/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.
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.user.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
 /**
127 127
  * Function to check if a user has moderation permission over a forum
128 128
  *
129
- * @param  Newbb\Forum|int $forum
129
+ * @param  integer $forum
130 130
  * @return bool
131 131
  */
132 132
 function newbbIsAdmin($forum = 0)
Please login to merge, or discard this patch.