@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | * @param XoopsUser $user {@link XoopsUser} object to get the value of |
239 | 239 | * @param profileProfile $profile object to get the value of |
240 | 240 | * |
241 | - * @return mixed |
|
241 | + * @return string |
|
242 | 242 | **/ |
243 | 243 | public function getOutputValue(&$user, $profile) |
244 | 244 | { |
@@ -433,7 +433,7 @@ discard block |
||
433 | 433 | class ProfileFieldHandler extends XoopsPersistableObjectHandler |
434 | 434 | { |
435 | 435 | /** |
436 | - * @param null|XoopsDatabase $db |
|
436 | + * @param XoopsDatabase $db |
|
437 | 437 | */ |
438 | 438 | public function __construct(XoopsDatabase $db) |
439 | 439 | { |
@@ -644,7 +644,7 @@ discard block |
||
644 | 644 | /** |
645 | 645 | * Get array of standard variable names (user table) |
646 | 646 | * |
647 | - * @return array |
|
647 | + * @return string[] |
|
648 | 648 | */ |
649 | 649 | public function getUserVars() |
650 | 650 | { |
@@ -67,7 +67,7 @@ |
||
67 | 67 | public $_fields = array(); |
68 | 68 | |
69 | 69 | /** |
70 | - * @param null|XoopsDatabase $db |
|
70 | + * @param XoopsDatabase $db |
|
71 | 71 | */ |
72 | 72 | public function __construct(XoopsDatabase $db) |
73 | 73 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | class ProfileVisibilityHandler extends XoopsPersistableObjectHandler |
43 | 43 | { |
44 | 44 | /** |
45 | - * @param null|XoopsDatabase $db |
|
45 | + * @param XoopsDatabase $db |
|
46 | 46 | */ |
47 | 47 | public function __construct(XoopsDatabase $db) |
48 | 48 | { |
@@ -300,7 +300,7 @@ |
||
300 | 300 | class SystemBlockHandler extends XoopsPersistableObjectHandler |
301 | 301 | { |
302 | 302 | /** |
303 | - * @param null|XoopsDatabase $db |
|
303 | + * @param XoopsDatabase $db |
|
304 | 304 | */ |
305 | 305 | public function __construct(XoopsDatabase $db) |
306 | 306 | { |
@@ -194,7 +194,7 @@ |
||
194 | 194 | class SystemGroupHandler extends XoopsPersistableObjectHandler |
195 | 195 | { |
196 | 196 | /** |
197 | - * @param null|XoopsDatabase $db |
|
197 | + * @param XoopsDatabase $db |
|
198 | 198 | */ |
199 | 199 | public function __construct(XoopsDatabase $db) |
200 | 200 | { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | * |
143 | 143 | * @param array tables 'list of tables' |
144 | 144 | * @param array maintenance 'optimize, check, repair, analyze' |
145 | - * @return array |
|
145 | + * @return string |
|
146 | 146 | */ |
147 | 147 | public function CheckRepairAnalyzeOptimizeQueries($tables, $maintenance) |
148 | 148 | { |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | * |
215 | 215 | * @param array tables 'list of tables' |
216 | 216 | * @param int drop |
217 | - * @return array 'ret[0] = dump, ret[1] = display result |
|
217 | + * @return string[] 'ret[0] = dump, ret[1] = display result |
|
218 | 218 | */ |
219 | 219 | public function dump_tables($tables, $drop) |
220 | 220 | { |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | * |
244 | 244 | * @param array modules 'list of modules' |
245 | 245 | * @param int drop |
246 | - * @return array 'ret[0] = dump, ret[1] = display result |
|
246 | + * @return string[] 'ret[0] = dump, ret[1] = display result |
|
247 | 247 | */ |
248 | 248 | public function dump_modules($modules, $drop) |
249 | 249 | { |
@@ -285,7 +285,10 @@ discard block |
||
285 | 285 | * @param string table |
286 | 286 | * @param int drop |
287 | 287 | * @param string class |
288 | - * @return array 'ret[0] = dump, ret[1] = display result |
|
288 | + * @param string[] $ret |
|
289 | + * @param string $table |
|
290 | + * @param string $class |
|
291 | + * @return string[] 'ret[0] = dump, ret[1] = display result |
|
289 | 292 | */ |
290 | 293 | public function dump_table_structure($ret, $table, $drop, $class) |
291 | 294 | { |
@@ -314,7 +317,9 @@ discard block |
||
314 | 317 | * |
315 | 318 | * @param array |
316 | 319 | * @param string table |
317 | - * @return array 'ret[0] = dump, ret[1] = display result |
|
320 | + * @param string[] $ret |
|
321 | + * @param string $table |
|
322 | + * @return string[] 'ret[0] = dump, ret[1] = display result |
|
318 | 323 | */ |
319 | 324 | public function dump_table_datas($ret, $table) |
320 | 325 | { |
@@ -379,7 +384,8 @@ discard block |
||
379 | 384 | * Dump Write |
380 | 385 | * |
381 | 386 | * @param array |
382 | - * @return array 'ret[0] = dump, ret[1] = display result |
|
387 | + * @param string[] $ret |
|
388 | + * @return string[] 'ret[0] = dump, ret[1] = display result |
|
383 | 389 | */ |
384 | 390 | public function dump_write($ret) |
385 | 391 | { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | |
56 | 56 | // irmtfan bug fix: solve templates duplicate issue |
57 | 57 | /** |
58 | - * @param $module |
|
58 | + * @param XoopsModule $module |
|
59 | 59 | * |
60 | 60 | * @return bool |
61 | 61 | */ |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param $pass |
45 | 45 | * @param $vpass |
46 | 46 | * |
47 | - * @return bool|string |
|
47 | + * @return false|string |
|
48 | 48 | */ |
49 | 49 | function userCheck($uname, $email, $pass, $vpass) |
50 | 50 | { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | * @param string $area |
163 | 163 | * @param bool $allow_repost |
164 | 164 | * |
165 | - * @return bool |
|
165 | + * @return null|boolean |
|
166 | 166 | */ |
167 | 167 | public function check($post = true, $area = '', $allow_repost = true) |
168 | 168 | { |
@@ -297,10 +297,10 @@ discard block |
||
297 | 297 | } |
298 | 298 | |
299 | 299 | /** |
300 | - * @param $key_name |
|
300 | + * @param string $key_name |
|
301 | 301 | * @param $tmp_array |
302 | 302 | * |
303 | - * @return array |
|
303 | + * @return string[] |
|
304 | 304 | */ |
305 | 305 | public function extract_post_recursive($key_name, $tmp_array) |
306 | 306 | { |