Completed
Pull Request — gcconnex (#1417)
by Nick
14:56
created
mod/cp_notifications/actions/cp_notifications/set_personal_subscription.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
mod/cp_notifications/lib/functions.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
mod/cp_notifications/start.php 1 patch
Doc Comments   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.