@@ -29,7 +29,6 @@ |
||
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'); |
@@ -160,7 +160,7 @@ |
||
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 |
@@ -87,7 +87,7 @@ |
||
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 | { |
@@ -194,7 +194,7 @@ |
||
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 | { |
@@ -333,7 +333,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | { |
@@ -126,7 +126,7 @@ |
||
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) |