@@ -93,7 +93,7 @@ |
||
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | 95 | * @param $user_guid user's guid |
| 96 | - * @return query for all the content that the user is associated with |
|
| 96 | + * @return string for all the content that the user is associated with |
|
| 97 | 97 | */ |
| 98 | 98 | function get_content($user_guid) |
| 99 | 99 | { |
@@ -6,6 +6,7 @@ discard block |
||
| 6 | 6 | * @param integer $entity_guid_static |
| 7 | 7 | * @param integer $entity_guid |
| 8 | 8 | * |
| 9 | + * @return integer |
|
| 9 | 10 | */ |
| 10 | 11 | function get_forum_in_group($entity_guid_static, $entity_guid) |
| 11 | 12 | { |
@@ -170,7 +171,7 @@ discard block |
||
| 170 | 171 | * @param ElggEntity $entity |
| 171 | 172 | * @param ElggUser $send_to |
| 172 | 173 | * @param string $entity_url (default value empty) |
| 173 | - * @return Success true/false |
|
| 174 | + * @return boolean true/false |
|
| 174 | 175 | */ |
| 175 | 176 | function create_digest($invoked_by, $subtype, $entity, $send_to, $entity_url = '') |
| 176 | 177 | { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * @param mixed $value The current value of the plugin hook |
| 126 | 126 | * @param mixed $params Data passed from the trigger |
| 127 | 127 | * |
| 128 | - * @return mixed if not null, this will be the new value of the plugin hook |
|
| 128 | + * @return boolean if not null, this will be the new value of the plugin hook |
|
| 129 | 129 | */ |
| 130 | 130 | function minor_save_hook_handler($hook, $type, $value, $params) |
| 131 | 131 | { |
@@ -525,7 +525,6 @@ discard block |
||
| 525 | 525 | /** |
| 526 | 526 | * returns the headers for ical |
| 527 | 527 | * |
| 528 | - * @param string $type_event |
|
| 529 | 528 | * @param ElggObject $event |
| 530 | 529 | * @param string $start_date |
| 531 | 530 | * @param string $end_date |
@@ -1337,6 +1336,9 @@ discard block |
||
| 1337 | 1336 | } |
| 1338 | 1337 | |
| 1339 | 1338 | |
| 1339 | +/** |
|
| 1340 | + * @param string $error_message |
|
| 1341 | + */ |
|
| 1340 | 1342 | function notification_logging($error_message) |
| 1341 | 1343 | { |
| 1342 | 1344 | // logging mechanism |
@@ -1389,8 +1391,6 @@ discard block |
||
| 1389 | 1391 | * run crontab, retrieve users, send digest, reset timer (update timestamp) |
| 1390 | 1392 | * |
| 1391 | 1393 | * @param string $hook The name of the plugin hook |
| 1392 | - * @param string $type The type of the plugin hook |
|
| 1393 | - * @param mixed $value The current value of the plugin hook |
|
| 1394 | 1394 | * @param mixed $params Data passed from the trigger |
| 1395 | 1395 | */ |
| 1396 | 1396 | function cp_digest_weekly_cron_handler($hook, $entity_type, $return_value, $params) |
@@ -1662,7 +1662,6 @@ discard block |
||
| 1662 | 1662 | * |
| 1663 | 1663 | * @param string $hook The name of the plugin hook |
| 1664 | 1664 | * @param string $type The type of the plugin hook |
| 1665 | - * @param mixed $value The current value of the plugin hook |
|
| 1666 | 1665 | * @param mixed $params Data passed from the trigger |
| 1667 | 1666 | */ |
| 1668 | 1667 | function cpn_email_handler_hook($hook, $type, $notification, $params) |
@@ -1677,7 +1676,6 @@ discard block |
||
| 1677 | 1676 | * |
| 1678 | 1677 | * @param string $hook The name of the plugin hook |
| 1679 | 1678 | * @param string $type The type of the plugin hook |
| 1680 | - * @param mixed $value The current value of the plugin hook |
|
| 1681 | 1679 | * @param mixed $params Data passed from the trigger |
| 1682 | 1680 | * |
| 1683 | 1681 | * @return mixed if not null, this will be the new value of the plugin hook |