@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @param $user |
|
| 199 | + * @param integer $user |
|
| 200 | 200 | */ |
| 201 | 201 | public static function getUserForm($user) |
| 202 | 202 | { |
@@ -799,7 +799,7 @@ discard block |
||
| 799 | 799 | |
| 800 | 800 | //Retrieve moduleoptions equivalent to $Xoopsmoduleconfig |
| 801 | 801 | /** |
| 802 | - * @param $option |
|
| 802 | + * @param string $option |
|
| 803 | 803 | * @param string $repmodule |
| 804 | 804 | * @return bool |
| 805 | 805 | */ |
@@ -855,8 +855,8 @@ discard block |
||
| 855 | 855 | /** |
| 856 | 856 | * Retreive an editor according to the module's option "form_options" |
| 857 | 857 | * following function is from News modified by trabis |
| 858 | - * @param $caption |
|
| 859 | - * @param $name |
|
| 858 | + * @param string $caption |
|
| 859 | + * @param string $name |
|
| 860 | 860 | * @param string $value |
| 861 | 861 | * @param string $width |
| 862 | 862 | * @param string $height |
@@ -1112,7 +1112,7 @@ discard block |
||
| 1112 | 1112 | // functionset to assign terms with accentuated or umlaut initials to the adequate initial |
| 1113 | 1113 | /** |
| 1114 | 1114 | * @param $string |
| 1115 | - * @return mixed|string |
|
| 1115 | + * @return string |
|
| 1116 | 1116 | */ |
| 1117 | 1117 | public static function removeAccents($string) |
| 1118 | 1118 | { |
@@ -1252,7 +1252,7 @@ discard block |
||
| 1252 | 1252 | |
| 1253 | 1253 | /** |
| 1254 | 1254 | * @param $field |
| 1255 | - * @return mixed|string |
|
| 1255 | + * @return string |
|
| 1256 | 1256 | */ |
| 1257 | 1257 | public static function sanitizeFieldName($field) |
| 1258 | 1258 | { |
@@ -1371,7 +1371,7 @@ discard block |
||
| 1371 | 1371 | /** |
| 1372 | 1372 | * @author Monte Ohrt <monte at ohrt dot com>, modified by Amos Robinson |
| 1373 | 1373 | * <amos dot robinson at gmail dot com> |
| 1374 | - * @param $string |
|
| 1374 | + * @param string $string |
|
| 1375 | 1375 | * @return string |
| 1376 | 1376 | */ |
| 1377 | 1377 | public static function closeTags($string) |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | * @param bool $post |
| 168 | 168 | * @param string $area |
| 169 | 169 | * @param bool $allow_repost |
| 170 | - * @return bool |
|
| 170 | + * @return null|boolean |
|
| 171 | 171 | */ |
| 172 | 172 | public function check($post = true, $area = '', $allow_repost = true) |
| 173 | 173 | { |
@@ -311,9 +311,9 @@ discard block |
||
| 311 | 311 | } |
| 312 | 312 | |
| 313 | 313 | /** |
| 314 | - * @param $key_name |
|
| 314 | + * @param string $key_name |
|
| 315 | 315 | * @param $tmp_array |
| 316 | - * @return array |
|
| 316 | + * @return string[] |
|
| 317 | 317 | */ |
| 318 | 318 | public function extract_post_recursive($key_name, $tmp_array) |
| 319 | 319 | { |