@@ -570,7 +570,7 @@ |
||
570 | 570 | * @param int $item_id Item ID |
571 | 571 | * @param int $status Status of the comment |
572 | 572 | * |
573 | - * @return array Array of {@link XoopsComment} objects |
|
573 | + * @return integer Array of {@link XoopsComment} objects |
|
574 | 574 | **/ |
575 | 575 | public function getCountByItemId($module_id, $item_id, $status = null) |
576 | 576 | { |
@@ -123,7 +123,7 @@ |
||
123 | 123 | * |
124 | 124 | * @param bool $isNew |
125 | 125 | * |
126 | - * @return bool $isNew Flag the object as "new"? |
|
126 | + * @return XoopsGroupPerm $isNew Flag the object as "new"? |
|
127 | 127 | */ |
128 | 128 | public function create($isNew = true) |
129 | 129 | { |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | * |
242 | 242 | * @param int $imgset_id |
243 | 243 | * @param string $tplset_name |
244 | - * @return array |
|
244 | + * @return boolean |
|
245 | 245 | */ |
246 | 246 | public function linkThemeset($imgset_id, $tplset_name) |
247 | 247 | { |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * |
268 | 268 | * @param int $imgset_id |
269 | 269 | * @param string $tplset_name |
270 | - * @return array |
|
270 | + * @return boolean |
|
271 | 271 | */ |
272 | 272 | public function unlinkThemeset($imgset_id, $tplset_name) |
273 | 273 | { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | |
57 | 57 | /** |
58 | 58 | * constructor |
59 | - * @param XoopsDatabase|null| $db |
|
59 | + * @param XoopsDatabase $db |
|
60 | 60 | */ |
61 | 61 | public function __construct(XoopsDatabase $db) |
62 | 62 | { |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | * |
233 | 233 | * @param int $group_id ID of the group |
234 | 234 | * @param int $user_id ID of the user |
235 | - * @return XoopsMembership XoopsMembership |
|
235 | + * @return boolean XoopsMembership |
|
236 | 236 | */ |
237 | 237 | public function addUserToGroup($group_id, $user_id) |
238 | 238 | { |
@@ -431,7 +431,7 @@ |
||
431 | 431 | } |
432 | 432 | |
433 | 433 | /** |
434 | - * @param $dirname |
|
434 | + * @param string $dirname |
|
435 | 435 | * |
436 | 436 | * @return mixed |
437 | 437 | */ |
@@ -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 | { |