@@ -29,8 +29,6 @@ |
||
29 | 29 | // Project: XOOPS Project // |
30 | 30 | // ------------------------------------------------------------------------- // |
31 | 31 | |
32 | -use Xmf\Request; |
|
33 | - |
|
34 | 32 | //include $GLOBALS['xoops']->path('include/cp_header.php'); |
35 | 33 | include __DIR__ . '/../../../include/cp_header.php'; |
36 | 34 | include_once $GLOBALS['xoops']->path('modules/' . $xoopsModule->getVar('dirname') . '/include/vars.php'); |
@@ -138,7 +138,7 @@ |
||
138 | 138 | { |
139 | 139 | /** |
140 | 140 | * @param $caption |
141 | - * @param $name |
|
141 | + * @param string $name |
|
142 | 142 | * @param $groupId |
143 | 143 | * @param null $values |
144 | 144 | */ |
@@ -909,7 +909,7 @@ discard block |
||
909 | 909 | |
910 | 910 | /** |
911 | 911 | * @param $options |
912 | - * @return bool |
|
912 | + * @return false|null |
|
913 | 913 | */ |
914 | 914 | function b_newbb_custom($options) |
915 | 915 | { |
@@ -933,7 +933,7 @@ discard block |
||
933 | 933 | |
934 | 934 | /** |
935 | 935 | * @param $options |
936 | - * @return bool |
|
936 | + * @return false|null |
|
937 | 937 | */ |
938 | 938 | function b_newbb_custom_topic($options) |
939 | 939 | { |
@@ -958,7 +958,7 @@ discard block |
||
958 | 958 | |
959 | 959 | /** |
960 | 960 | * @param $options |
961 | - * @return bool |
|
961 | + * @return false|null |
|
962 | 962 | */ |
963 | 963 | function b_newbb_custom_post($options) |
964 | 964 | { |
@@ -983,7 +983,7 @@ discard block |
||
983 | 983 | |
984 | 984 | /** |
985 | 985 | * @param $options |
986 | - * @return bool |
|
986 | + * @return false|null |
|
987 | 987 | */ |
988 | 988 | function b_newbb_custom_author($options) |
989 | 989 | { |
@@ -54,7 +54,7 @@ |
||
54 | 54 | |
55 | 55 | /** |
56 | 56 | * @param string $permission |
57 | - * @param null $tags |
|
57 | + * @param string[] $tags |
|
58 | 58 | * @param bool $asObject |
59 | 59 | * @return array |
60 | 60 | */ |
@@ -1058,7 +1058,7 @@ |
||
1058 | 1058 | /** |
1059 | 1059 | * function for get forum Ids by positive and negative values |
1060 | 1060 | * |
1061 | - * @param int|text $values : positive values = forums | negative values = cats | $values=0 = all valid forums, $permission , true/false $parse_cats |
|
1061 | + * @param integer $values : positive values = forums | negative values = cats | $values=0 = all valid forums, $permission , true/false $parse_cats |
|
1062 | 1062 | * @param string $permission |
1063 | 1063 | * @param bool $parse_cats |
1064 | 1064 | * @return array|mixed $validForums |
@@ -159,7 +159,7 @@ |
||
159 | 159 | } |
160 | 160 | |
161 | 161 | /** |
162 | - * @param $image |
|
162 | + * @param string $image |
|
163 | 163 | * @param string $alt |
164 | 164 | * @param string $extra |
165 | 165 | * @return mixed |
@@ -207,10 +207,10 @@ |
||
207 | 207 | * |
208 | 208 | * @param int $uid UID of the active user |
209 | 209 | * @param string $uname Username |
210 | - * @param $time |
|
210 | + * @param integer $time |
|
211 | 211 | * @param string $forum_id Current forum_id |
212 | 212 | * @param string $ip User's IP adress |
213 | - * @param $topic_id |
|
213 | + * @param integer $topic_id |
|
214 | 214 | * @return bool TRUE on success |
215 | 215 | * @internal param string $timestamp |
216 | 216 | */ |
@@ -292,7 +292,7 @@ |
||
292 | 292 | } |
293 | 293 | |
294 | 294 | /** |
295 | - * @return bool|string |
|
295 | + * @return false|string |
|
296 | 296 | */ |
297 | 297 | public function displayPostEdit() |
298 | 298 | { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | /** |
99 | - * @param $status |
|
99 | + * @param integer $status |
|
100 | 100 | * @param $items |
101 | 101 | * @return bool |
102 | 102 | */ |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
121 | - * @param $status |
|
121 | + * @param integer $status |
|
122 | 122 | * @param $uid |
123 | 123 | * @return bool |
124 | 124 | */ |