@@ -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; |
@@ -44,6 +44,9 @@ |
||
44 | 44 | *** |
45 | 45 | * @param $msg |
46 | 46 | */ |
47 | +/** |
|
48 | + * @param string $msg |
|
49 | + */ |
|
47 | 50 | function showerror($msg) |
48 | 51 | { |
49 | 52 | global $xoopsDB; |
@@ -43,6 +43,9 @@ |
||
43 | 43 | *** |
44 | 44 | * @param $msg |
45 | 45 | */ |
46 | +/** |
|
47 | + * @param string $msg |
|
48 | + */ |
|
46 | 49 | function showerror($msg) |
47 | 50 | { |
48 | 51 | 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; |
@@ -44,6 +44,9 @@ |
||
44 | 44 | * @param $msg |
45 | 45 | */ |
46 | 46 | |
47 | +/** |
|
48 | + * @param string $msg |
|
49 | + */ |
|
47 | 50 | function showerror($msg) |
48 | 51 | { |
49 | 52 | 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 | { |