@@ -639,6 +639,8 @@ discard block |
||
639 | 639 | * @param int message id |
640 | 640 | * @param int message user id (receiver user id or sender user id) |
641 | 641 | * @param int group id (optional) |
642 | + * @param integer $message_id |
|
643 | + * @param integer $message_uid |
|
642 | 644 | * @return void |
643 | 645 | */ |
644 | 646 | public static function delete_message_attachment_file($message_id, $message_uid, $group_id = 0) |
@@ -683,7 +685,7 @@ discard block |
||
683 | 685 | * update messages by user id and message id |
684 | 686 | * @param int $user_id |
685 | 687 | * @param int $message_id |
686 | - * @return resource |
|
688 | + * @return false|null |
|
687 | 689 | */ |
688 | 690 | public static function update_message($user_id, $message_id) |
689 | 691 | { |
@@ -703,7 +705,7 @@ discard block |
||
703 | 705 | * @param int $user_id |
704 | 706 | * @param int $message_id |
705 | 707 | * @param string $type |
706 | - * @return bool |
|
708 | + * @return false|null |
|
707 | 709 | */ |
708 | 710 | public static function update_message_status($user_id, $message_id,$type) |
709 | 711 | { |
@@ -740,6 +742,7 @@ discard block |
||
740 | 742 | /** |
741 | 743 | * get messages by group id |
742 | 744 | * @param int group id |
745 | + * @param integer $group_id |
|
743 | 746 | * @return array |
744 | 747 | */ |
745 | 748 | public static function get_messages_by_group($group_id) |
@@ -1477,7 +1480,7 @@ discard block |
||
1477 | 1480 | * Sort date by desc from a multi-dimensional array |
1478 | 1481 | * @param array $array1 first array to compare |
1479 | 1482 | * @param array $array2 second array to compare |
1480 | - * @return bool |
|
1483 | + * @return integer |
|
1481 | 1484 | */ |
1482 | 1485 | public function order_desc_date($array1, $array2) |
1483 | 1486 | { |
@@ -1555,7 +1558,6 @@ discard block |
||
1555 | 1558 | /** |
1556 | 1559 | * @param $id |
1557 | 1560 | * @param array $params |
1558 | - * @param string $display |
|
1559 | 1561 | * @return string |
1560 | 1562 | */ |
1561 | 1563 | public static function generate_invitation_form($id, $params = array()) |
@@ -1644,7 +1646,7 @@ discard block |
||
1644 | 1646 | |
1645 | 1647 | /** |
1646 | 1648 | * @param string $keyword |
1647 | - * @return null|string |
|
1649 | + * @return string |
|
1648 | 1650 | */ |
1649 | 1651 | public static function outbox_display($keyword = '') |
1650 | 1652 | { |