@@ -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 | |
@@ -387,8 +387,8 @@ discard block |
||
| 387 | 387 | * save_permissions() |
| 388 | 388 | * adapted from WF-Downloads |
| 389 | 389 | * @param $groups |
| 390 | - * @param $id |
|
| 391 | - * @param $perm_name |
|
| 390 | + * @param integer $id |
|
| 391 | + * @param string $perm_name |
|
| 392 | 392 | * @return bool |
| 393 | 393 | */ |
| 394 | 394 | |
@@ -419,7 +419,7 @@ discard block |
||
| 419 | 419 | |
| 420 | 420 | //-- Initial Selector |
| 421 | 421 | /** |
| 422 | - * @param $init |
|
| 422 | + * @param integer $init |
|
| 423 | 423 | */ |
| 424 | 424 | function lx_getinit($init) |
| 425 | 425 | { |
@@ -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 | { |
@@ -41,8 +41,8 @@ discard block |
||
| 41 | 41 | //sets the names of table, unique id, and parend id |
| 42 | 42 | /** |
| 43 | 43 | * @param $table_name |
| 44 | - * @param $id_name |
|
| 45 | - * @param $pid_name |
|
| 44 | + * @param string $id_name |
|
| 45 | + * @param string $pid_name |
|
| 46 | 46 | * @return lexikontree |
| 47 | 47 | */ |
| 48 | 48 | public function LexikonTree($table_name, $id_name, $pid_name) |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | /** |
| 300 | 300 | * Enter description here... |
| 301 | 301 | * |
| 302 | - * @param int|mixed $sel_id |
|
| 302 | + * @param integer $sel_id |
|
| 303 | 303 | * @param string|mixed $order |
| 304 | 304 | * @param array|mixed $parray |
| 305 | 305 | * |
@@ -328,8 +328,8 @@ discard block |
||
| 328 | 328 | /** |
| 329 | 329 | * Enter description here... |
| 330 | 330 | * |
| 331 | - * @param int|mixed $sel_id |
|
| 332 | - * @param string|mixed $order |
|
| 331 | + * @param integer $sel_id |
|
| 332 | + * @param string $order |
|
| 333 | 333 | * @param array|mixed $parray |
| 334 | 334 | * @param string|mixed $r_prefix |
| 335 | 335 | * @return array|unknown|unknown_type |
@@ -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 | |
@@ -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) |