Completed
Push — master ( 62af87...249590 )
by Michael
03:02
created
admin/admin_header.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 // Project: XOOPS Project                                                    //
30 30
 // ------------------------------------------------------------------------- //
31 31
 
32
-use Xmf\Request;
33 32
 use XoopsModules\Newbb;
34 33
 
35 34
 //include $GLOBALS['xoops']->path('include/cp_header.php');
Please login to merge, or discard this patch.
class/PermissionForumHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
     }
161 161
 
162 162
     /**
163
-     * @param  Forum|int $forum
163
+     * @param  integer $forum
164 164
      * @param  bool      $topic_locked
165 165
      * @param  bool      $isAdmin
166 166
      * @return array
Please login to merge, or discard this patch.
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/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.
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.