@@ -227,7 +227,7 @@ |
||
227 | 227 | /** |
228 | 228 | * Assign one or more {@link XoopsConfigItemOption}s |
229 | 229 | * |
230 | - * @param mixed $option either a {@link XoopsConfigItemOption} object or an array of them |
|
230 | + * @param XoopsConfigOption $option either a {@link XoopsConfigItemOption} object or an array of them |
|
231 | 231 | */ |
232 | 232 | public function setConfOptions($option) |
233 | 233 | { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
53 | - * @param $value |
|
53 | + * @param string $value |
|
54 | 54 | * @param string $name |
55 | 55 | */ |
56 | 56 | public function addMenuTop($value, $name = '') |
@@ -18,10 +18,10 @@ discard block |
||
18 | 18 | * |
19 | 19 | * Comment by Taiwen Jiang (a.k.a. phppp): THE METHOD IS NOT COMPLETE AND NOT SAFE. YOU ARE ENCOURAGED TO USE PHP'S NATIVE FILTER_VAR OR FILTER_INPUT FUNCTIONS DIRECTLY BEFORE WE MIGRATE TO XOOPS 3. |
20 | 20 | * @param $global |
21 | - * @param $key |
|
21 | + * @param string $key |
|
22 | 22 | * @param string $default |
23 | 23 | * @param string $type |
24 | - * @return int|mixed|string |
|
24 | + * @return integer |
|
25 | 25 | */ |
26 | 26 | function system_CleanVars(&$global, $key, $default = '', $type = 'int') |
27 | 27 | { |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
106 | - * @param $img |
|
106 | + * @param string $img |
|
107 | 107 | * |
108 | 108 | * @return mixed |
109 | 109 | */ |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | } |
201 | 201 | |
202 | 202 | /** |
203 | - * @param $sql |
|
203 | + * @param string $sql |
|
204 | 204 | * |
205 | 205 | * @return mixed |
206 | 206 | */ |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | } |
213 | 213 | |
214 | 214 | /** |
215 | - * @param $table |
|
215 | + * @param string $table |
|
216 | 216 | * |
217 | 217 | * @return mixed |
218 | 218 | */ |
@@ -236,8 +236,8 @@ discard block |
||
236 | 236 | } |
237 | 237 | |
238 | 238 | /** |
239 | - * @param $table |
|
240 | - * @param $query |
|
239 | + * @param string $table |
|
240 | + * @param string $query |
|
241 | 241 | * |
242 | 242 | * @return bool |
243 | 243 | */ |
@@ -62,6 +62,7 @@ discard block |
||
62 | 62 | |
63 | 63 | /** |
64 | 64 | * Get the original filename |
65 | + * @return string |
|
65 | 66 | */ |
66 | 67 | public function getName() |
67 | 68 | { |
@@ -269,6 +270,9 @@ discard block |
||
269 | 270 | } |
270 | 271 | } |
271 | 272 | |
273 | + /** |
|
274 | + * @param string $mimeType |
|
275 | + */ |
|
272 | 276 | protected function storeUploadedFile($target, $mimeType, $uuid) |
273 | 277 | { |
274 | 278 | if (!is_dir(dirname($target))) { |
@@ -44,9 +44,9 @@ |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @param $text |
|
47 | + * @param string $text |
|
48 | 48 | * |
49 | - * @return mixed|string |
|
49 | + * @return string |
|
50 | 50 | */ |
51 | 51 | public function php($text) |
52 | 52 | { |
@@ -57,6 +57,9 @@ |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | |
60 | + /** |
|
61 | + * @param string $domain |
|
62 | + */ |
|
60 | 63 | public function loadLanguage($domain, $language = null) |
61 | 64 | { |
62 | 65 | $supports = null; |
@@ -17,7 +17,7 @@ |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * @param $sql |
|
20 | + * @param string $sql |
|
21 | 21 | */ |
22 | 22 | protected function query($sql) |
23 | 23 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * @param $sql |
|
20 | + * @param string $sql |
|
21 | 21 | */ |
22 | 22 | protected function query($sql) |
23 | 23 | { |