| @@ -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 | */ | 
| @@ -59,7 +59,7 @@ discard block | ||
| 59 | 59 | |
| 60 | 60 | /** | 
| 61 | 61 | * @param $text | 
| 62 | - * @return mixed|string | |
| 62 | + * @return string | |
| 63 | 63 | */ | 
| 64 | 64 | public function cleanup($text) | 
| 65 | 65 |      { | 
| @@ -179,7 +179,7 @@ discard block | ||
| 179 | 179 | } | 
| 180 | 180 | |
| 181 | 181 | /** | 
| 182 | - * @param XoopsObject $digest | |
| 182 | + * @param Digest $digest | |
| 183 | 183 | * @return bool | 
| 184 | 184 | */ | 
| 185 | 185 | public function notify(XoopsObject $digest) | 
| @@ -260,7 +260,7 @@ discard block | ||
| 260 | 260 | } | 
| 261 | 261 | |
| 262 | 262 | /** | 
| 263 | - * @param XoopsObject $digest | |
| 263 | + * @param Digest $digest | |
| 264 | 264 | * @return bool | 
| 265 | 265 | */ | 
| 266 | 266 | public function insert(XoopsObject $digest) | 
| @@ -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 |      { |