@@ -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 |
@@ -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; |
@@ -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; |