@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @var array $items associative array of items: [modid][catid][itemid] |
| 24 | 24 | * |
| 25 | - * @return boolean |
|
| 25 | + * @return false|null |
|
| 26 | 26 | * |
| 27 | 27 | */ |
| 28 | 28 | |
@@ -42,6 +42,9 @@ |
||
| 42 | 42 | *** |
| 43 | 43 | * @param $msg |
| 44 | 44 | */ |
| 45 | +/** |
|
| 46 | + * @param string $msg |
|
| 47 | + */ |
|
| 45 | 48 | function showerror($msg) |
| 46 | 49 | { |
| 47 | 50 | global $xoopsDB; |
@@ -47,6 +47,9 @@ |
||
| 47 | 47 | * @param $msg |
| 48 | 48 | */ |
| 49 | 49 | |
| 50 | +/** |
|
| 51 | + * @param string $msg |
|
| 52 | + */ |
|
| 50 | 53 | function showerror($msg) |
| 51 | 54 | { |
| 52 | 55 | global $xoopsDB; |
@@ -66,10 +66,10 @@ discard block |
||
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | 68 | * Constructor |
| 69 | - * @param $title |
|
| 70 | - * @param $modid |
|
| 71 | - * @param $permname |
|
| 72 | - * @param $permdesc |
|
| 69 | + * @param string $title |
|
| 70 | + * @param integer $modid |
|
| 71 | + * @param string $permname |
|
| 72 | + * @param string $permdesc |
|
| 73 | 73 | */ |
| 74 | 74 | public function __construct($title, $modid, $permname, $permdesc) |
| 75 | 75 | { |
@@ -102,9 +102,9 @@ discard block |
||
| 102 | 102 | * Add appendix |
| 103 | 103 | * |
| 104 | 104 | * @access public |
| 105 | - * @param $permName |
|
| 105 | + * @param string $permName |
|
| 106 | 106 | * @param $itemId |
| 107 | - * @param $itemName |
|
| 107 | + * @param string $itemName |
|
| 108 | 108 | */ |
| 109 | 109 | public function addAppendix($permName, $itemId, $itemName) |
| 110 | 110 | { |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | /** |
| 255 | 255 | * Constructor |
| 256 | 256 | * @param $caption |
| 257 | - * @param $name |
|
| 257 | + * @param string $name |
|
| 258 | 258 | * @param $groupId |
| 259 | 259 | * @param null $values |
| 260 | 260 | */ |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | $go = isset($_POST['go']) ? $_POST['go'] : 0; |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * @param $msg |
|
| 18 | + * @param string $msg |
|
| 19 | 19 | */ |
| 20 | 20 | function showerror($msg) |
| 21 | 21 | { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | * |
| 22 | 22 | * @var array $items associative array of items: [modid][catid][itemid] |
| 23 | 23 | * |
| 24 | - * @return boolean |
|
| 24 | + * @return false|null |
|
| 25 | 25 | * |
| 26 | 26 | */ |
| 27 | 27 | |
@@ -18,9 +18,6 @@ |
||
| 18 | 18 | * @author XOOPS Development Team, hsalazar |
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | -use Xmf\Request; |
|
| 22 | -use Xmf\Module\Helper; |
|
| 23 | - |
|
| 24 | 21 | /** |
| 25 | 22 | * Class LexikonUtility |
| 26 | 23 | */ |
@@ -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 | { |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | } |
| 326 | 326 | |
| 327 | 327 | /** |
| 328 | - * @return array |
|
| 328 | + * @return string |
|
| 329 | 329 | * |
| 330 | 330 | */ |
| 331 | 331 | function uchr($a) { |
@@ -834,7 +834,7 @@ discard block |
||
| 834 | 834 | |
| 835 | 835 | //Retrieve moduleoptions equivalent to $Xoopsmoduleconfig |
| 836 | 836 | /** |
| 837 | - * @param $option |
|
| 837 | + * @param string $option |
|
| 838 | 838 | * @param string $repmodule |
| 839 | 839 | * @return bool |
| 840 | 840 | */ |
@@ -890,8 +890,8 @@ discard block |
||
| 890 | 890 | /** |
| 891 | 891 | * Retreive an editor according to the module's option "form_options" |
| 892 | 892 | * following function is from News modified by trabis |
| 893 | - * @param $caption |
|
| 894 | - * @param $name |
|
| 893 | + * @param string $caption |
|
| 894 | + * @param string $name |
|
| 895 | 895 | * @param string $value |
| 896 | 896 | * @param string $width |
| 897 | 897 | * @param string $height |
@@ -1147,7 +1147,7 @@ discard block |
||
| 1147 | 1147 | // functionset to assign terms with accentuated or umlaut initials to the adequate initial |
| 1148 | 1148 | /** |
| 1149 | 1149 | * @param $string |
| 1150 | - * @return mixed|string |
|
| 1150 | + * @return string |
|
| 1151 | 1151 | */ |
| 1152 | 1152 | public static function removeAccents($string) |
| 1153 | 1153 | { |
@@ -1297,7 +1297,7 @@ discard block |
||
| 1297 | 1297 | |
| 1298 | 1298 | /** |
| 1299 | 1299 | * @param $field |
| 1300 | - * @return mixed|string |
|
| 1300 | + * @return string |
|
| 1301 | 1301 | */ |
| 1302 | 1302 | public static function sanitizeFieldName($field) |
| 1303 | 1303 | { |
@@ -1416,7 +1416,7 @@ discard block |
||
| 1416 | 1416 | /** |
| 1417 | 1417 | * @author Monte Ohrt <monte at ohrt dot com>, modified by Amos Robinson |
| 1418 | 1418 | * <amos dot robinson at gmail dot com> |
| 1419 | - * @param $string |
|
| 1419 | + * @param string $string |
|
| 1420 | 1420 | * @return string |
| 1421 | 1421 | */ |
| 1422 | 1422 | 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 | { |
@@ -42,6 +42,9 @@ |
||
| 42 | 42 | *** |
| 43 | 43 | * @param $msg |
| 44 | 44 | */ |
| 45 | +/** |
|
| 46 | + * @param string $msg |
|
| 47 | + */ |
|
| 45 | 48 | function showerror($msg) |
| 46 | 49 | { |
| 47 | 50 | global $xoopsDB; |