@@ -412,8 +412,8 @@ discard block |
||
412 | 412 | // Also, should we have get by module, get by category, etc...?? |
413 | 413 | /** |
414 | 414 | * @param $module_id |
415 | - * @param $category |
|
416 | - * @param $item_id |
|
415 | + * @param string $category |
|
416 | + * @param integer $item_id |
|
417 | 417 | * @param $event |
418 | 418 | * @param $user_id |
419 | 419 | * |
@@ -476,7 +476,7 @@ discard block |
||
476 | 476 | * @param int $user_id ID of the user (default to current user) |
477 | 477 | * * |
478 | 478 | * |
479 | - * @return bool |
|
479 | + * @return false|null |
|
480 | 480 | */ |
481 | 481 | public function subscribe($category, $item_id, $events, $mode = null, $module_id = null, $user_id = null) |
482 | 482 | { |
@@ -632,7 +632,7 @@ discard block |
||
632 | 632 | * @param array $user_list |
633 | 633 | * @param int $module_id |
634 | 634 | * @param int $omit_user_id |
635 | - * @return mixed |
|
635 | + * @return false|null |
|
636 | 636 | */ |
637 | 637 | public function triggerEvent($category, $item_id, $event, $extra_tags = array(), $user_list = array(), $module_id = null, $omit_user_id = null) |
638 | 638 | { |
@@ -119,7 +119,7 @@ |
||
119 | 119 | * |
120 | 120 | * @see XoopsTplset |
121 | 121 | * @param bool $isNew is the new tplsets new?? |
122 | - * @return object XoopsTplset reference to the new tplsets |
|
122 | + * @return XoopsTplset XoopsTplset reference to the new tplsets |
|
123 | 123 | **/ |
124 | 124 | public function create($isNew = true) |
125 | 125 | { |
@@ -592,7 +592,7 @@ |
||
592 | 592 | class XoopsUserHandler extends XoopsPersistableObjectHandler |
593 | 593 | { |
594 | 594 | /** |
595 | - * @param XoopsDatabase|null| $db |
|
595 | + * @param XoopsDatabase $db |
|
596 | 596 | */ |
597 | 597 | public function __construct(XoopsDatabase $db) |
598 | 598 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * Number Formats |
49 | 49 | * |
50 | 50 | * @param unknown_type $number |
51 | - * @return unknown |
|
51 | + * @return string |
|
52 | 52 | */ |
53 | 53 | public function number_format($number) |
54 | 54 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * |
61 | 61 | * @param string $format |
62 | 62 | * @param string $number |
63 | - * @return money format |
|
63 | + * @return string format |
|
64 | 64 | */ |
65 | 65 | public function money_format($format, $number) |
66 | 66 | { |
@@ -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 | { |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @param ProfileField $field {@link ProfileField} object to get edit form for |
27 | 27 | * @param mixed $action URL to submit to - or false for $_SERVER['REQUEST_URI'] |
28 | 28 | * |
29 | - * @return object |
|
29 | + * @return XoopsThemeForm |
|
30 | 30 | */ |
31 | 31 | function profile_getFieldForm(ProfileField $field, $action = false) |
32 | 32 | { |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | * @param int $step Which step we are at |
279 | 279 | * |
280 | 280 | * @internal param \profileRegstep $next_step |
281 | - * @return object |
|
281 | + * @return XoopsThemeForm |
|
282 | 282 | */ |
283 | 283 | function profile_getRegisterForm(XoopsUser $user, $profile, $step = null) |
284 | 284 | { |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | * @param ProfileProfile|null $profile |
388 | 388 | * @param bool $action |
389 | 389 | * |
390 | - * @return object |
|
390 | + * @return XoopsThemeForm |
|
391 | 391 | */ |
392 | 392 | function profile_getUserForm(XoopsUser $user, ProfileProfile $profile = null, $action = false) |
393 | 393 | { |
@@ -522,7 +522,7 @@ discard block |
||
522 | 522 | * @param ProfileRegstep|null $step {@link ProfileRegstep} to edit |
523 | 523 | * @param bool $action |
524 | 524 | * |
525 | - * @return object |
|
525 | + * @return XoopsThemeForm |
|
526 | 526 | */ |
527 | 527 | function profile_getStepForm(ProfileRegstep $step = null, $action = false) |
528 | 528 | { |
@@ -101,17 +101,17 @@ discard block |
||
101 | 101 | |
102 | 102 | // canedit: 0 - no; 1 - admin; 2 - admin & owner |
103 | 103 | /** |
104 | - * @param $name |
|
105 | - * @param $title |
|
106 | - * @param $description |
|
107 | - * @param $category |
|
108 | - * @param $type |
|
109 | - * @param $valuetype |
|
110 | - * @param $weight |
|
111 | - * @param $canedit |
|
104 | + * @param string $name |
|
105 | + * @param string $title |
|
106 | + * @param string $description |
|
107 | + * @param integer $category |
|
108 | + * @param string $type |
|
109 | + * @param integer $valuetype |
|
110 | + * @param integer $weight |
|
111 | + * @param integer $canedit |
|
112 | 112 | * @param $options |
113 | - * @param $step_id |
|
114 | - * @param $length |
|
113 | + * @param integer $step_id |
|
114 | + * @param integer $length |
|
115 | 115 | * @param bool $visible |
116 | 116 | * |
117 | 117 | * @return bool |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * @param $field_id |
184 | 184 | * @param $module_id |
185 | 185 | * @param $canedit |
186 | - * @param $visible |
|
186 | + * @param boolean $visible |
|
187 | 187 | */ |
188 | 188 | function profile_install_setPermissions($field_id, $module_id, $canedit, $visible) |
189 | 189 | { |
@@ -199,8 +199,8 @@ discard block |
||
199 | 199 | } |
200 | 200 | |
201 | 201 | /** |
202 | - * @param $name |
|
203 | - * @param $weight |
|
202 | + * @param string $name |
|
203 | + * @param integer $weight |
|
204 | 204 | */ |
205 | 205 | function profile_install_addCategory($name, $weight) |
206 | 206 | { |
@@ -208,10 +208,10 @@ discard block |
||
208 | 208 | } |
209 | 209 | |
210 | 210 | /** |
211 | - * @param $name |
|
212 | - * @param $desc |
|
213 | - * @param $order |
|
214 | - * @param $save |
|
211 | + * @param string $name |
|
212 | + * @param string $desc |
|
213 | + * @param integer $order |
|
214 | + * @param integer $save |
|
215 | 215 | */ |
216 | 216 | function profile_install_addStep($name, $desc, $order, $save) |
217 | 217 | { |
@@ -528,7 +528,7 @@ discard block |
||
528 | 528 | } |
529 | 529 | |
530 | 530 | /** |
531 | - * @param $dirname |
|
531 | + * @param string $dirname |
|
532 | 532 | * @param $template |
533 | 533 | * @param string $type |
534 | 534 | * |
@@ -1388,9 +1388,9 @@ discard block |
||
1388 | 1388 | |
1389 | 1389 | /** |
1390 | 1390 | * @param $module |
1391 | - * @param $title |
|
1391 | + * @param string $title |
|
1392 | 1392 | * |
1393 | - * @return array |
|
1393 | + * @return string[] |
|
1394 | 1394 | */ |
1395 | 1395 | function xoops_module_log_header($module, $title) |
1396 | 1396 | { |
@@ -115,7 +115,7 @@ |
||
115 | 115 | * Create new Object |
116 | 116 | * |
117 | 117 | * @param bool $isNew |
118 | - * @return object |
|
118 | + * @return SystemAvatar |
|
119 | 119 | */ |
120 | 120 | public function &create($isNew = true) |
121 | 121 | { |