Passed
Push — master ( 4c7da5...a55b86 )
by Ilia
09:52
created
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
     /** @var string The version vector. */
44 44
     private $version = '';
45 45
 
46
+    /**
47
+     * @param string $version
48
+     */
46 49
     public function __construct($version = null, Description $description = null)
47 50
     {
48 51
         Assert::nullOrStringNotEmpty($version);
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
     /** @var string The version vector. */
44 44
     private $version = '';
45 45
 
46
+    /**
47
+     * @param string $version
48
+     */
46 49
     public function __construct($version = null, Description $description = null)
47 50
     {
48 51
         Assert::nullOrStringNotEmpty($version);
Please login to merge, or discard this patch.
mod/gc_api/lib/blog.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
 
46 46
 	return $output;
47 47
 }
48
+/**
49
+ * @param ElggEntity $entity
50
+ */
48 51
 function get_blog($entity)
49 52
 {
50 53
 	/*
Please login to merge, or discard this patch.
mod/gcconnex_theme/include/fgcontactform.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -758,6 +758,9 @@
 block discarded – undo
758 758
 		$this->message = $this->StripSlashes($_POST['message']);
759 759
 	}
760 760
 
761
+	/**
762
+	 * @param string $error
763
+	 */
761 764
 	public function add_error($error)
762 765
 	{
763 766
 		array_push($this->errors, $error);
Please login to merge, or discard this patch.
mod/uservalidationbyemail/start.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
  * @param string $type
63 63
  * @param bool   $value
64 64
  * @param array  $params
65
- * @return bool
65
+ * @return null|boolean
66 66
  */
67 67
 function uservalidationbyemail_disable_new_user($hook, $type, $value, $params) {
68 68
 	$user = elgg_extract('user', $params);
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
  * Checks if an account is validated
156 156
  *
157 157
  * @params array $credentials The username and password
158
- * @return bool
158
+ * @return boolean|null
159 159
  */
160 160
 function uservalidationbyemail_check_auth_attempt($credentials) {
161 161
 
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
  * @param string   $event
235 235
  * @param string   $type
236 236
  * @param ElggUser $user
237
- * @return bool
237
+ * @return false|null
238 238
  *
239 239
  * @throws LoginException
240 240
  */
Please login to merge, or discard this patch.
mod/gc_communities/views/default/widgets/filtered_events_index/content.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -12,6 +12,11 @@
 block discarded – undo
12 12
 require_once($CONFIG->pluginspath.'event_calendar/models/model.php');
13 13
 
14 14
 if (!function_exists('getLastDayOfMonth')) {
15
+
16
+	/**
17
+	 * @param string $month
18
+	 * @param string $year
19
+	 */
15 20
 	function getLastDayOfMonth($month, $year)
16 21
 	{
17 22
 		return idate('d', mktime(0, 0, 0, ($month + 1), 0, $year));
Please login to merge, or discard this patch.
mod/wet4/start.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1744,7 +1744,7 @@
 block discarded – undo
1744 1744
  *
1745 1745
  * @author Ethan Wallace
1746 1746
  * @param string $desc Preview text from the discussion.
1747
- * @return string HTML to create embeded video
1747
+ * @return string[] HTML to create embeded video
1748 1748
  */
1749 1749
 function embed_discussion_river($desc)
1750 1750
 {
Please login to merge, or discard this patch.
mod/embed_extender/lib/embedvideo.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
  *
163 163
  * @param $width
164 164
  * @param $height
165
- * @param $toolbar_height
165
+ * @param integer $toolbar_height
166 166
  */
167 167
 function videoembed_calc_size(&$width, &$height, $aspect_ratio, $toolbar_height) {
168 168
 	// set video width and height
@@ -315,6 +315,8 @@  discard block
 block discarded – undo
315 315
  * parse youtu.be url
316 316
  *
317 317
  * @param string $url
318
+ * @param integer $guid
319
+ * @param integer $videowidth
318 320
  * @return string youtube.com/embed/hash
319 321
  */
320 322
 function videoembed_youtube_shortener_parse_url($url, $guid, $videowidth) {
Please login to merge, or discard this patch.
engine/lib/deprecated-1.8.php 1 patch
Doc Comments   +55 added lines, -62 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
  * @param mixed  $subregister_value The value of the subregister
276 276
  * @param array  $children_array    Optionally, an array of children
277 277
  *
278
- * @return true|false Depending on success
278
+ * @return boolean Depending on success
279 279
  */
280 280
 function add_to_register($register_name, $subregister_name, $subregister_value, $children_array = array()) {
281 281
 	elgg_deprecated_notice("add_to_register() has been deprecated", 1.8);
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
  * @param string $register_name    The name of the top-level register
316 316
  * @param string $subregister_name The name of the subregister
317 317
  *
318
- * @return true|false Depending on success
318
+ * @return boolean Depending on success
319 319
  * @since 1.7.0
320 320
  */
321 321
 function remove_from_register($register_name, $subregister_name) {
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
  * @param boolean $call        Set to true to call the event rather than add to it (default false)
393 393
  * @param mixed   $object      Optionally, the object the event is being performed on (eg a user)
394 394
  *
395
- * @return true|false Depending on success
395
+ * @return boolean Depending on success
396 396
  */
397 397
 function events($event = "", $object_type = "", $function = "", $priority = 500, $call = false, $object = null) {
398 398
 
@@ -413,8 +413,7 @@  discard block
 block discarded – undo
413 413
  * 
414 414
  * @param string $event The event type
415 415
  * @param string $object_type The object type
416
- * @param string $function The function name
417
- * @return true|false Depending on success
416
+ * @return boolean Depending on success
418 417
  */
419 418
 function register_elgg_event_handler($event, $object_type, $callback, $priority = 500) {
420 419
 	elgg_deprecated_notice("register_elgg_event_handler() was deprecated by elgg_register_event_handler()", 1.8);
@@ -428,7 +427,6 @@  discard block
 block discarded – undo
428 427
  *
429 428
  * @param string $event The event type
430 429
  * @param string $object_type The object type
431
- * @param string $function The function name
432 430
  * @since 1.7.0
433 431
  */
434 432
 function unregister_elgg_event_handler($event, $object_type, $callback) {
@@ -443,8 +441,7 @@  discard block
 block discarded – undo
443 441
  * 
444 442
  * @param string $event The event type
445 443
  * @param string $object_type The object type
446
- * @param string $function The function name
447
- * @return true|false Depending on success
444
+ * @return boolean Depending on success
448 445
  */
449 446
 function trigger_elgg_event($event, $object_type, $object = null) {
450 447
 	elgg_deprecated_notice('trigger_elgg_event() was deprecated by elgg_trigger_event()', 1.8);
@@ -471,10 +468,10 @@  discard block
 block discarded – undo
471 468
  * $params is an array containing a set of parameters (or nothing).
472 469
  *
473 470
  * @param string $hook The name of the hook
474
- * @param string $entity_type The name of the type of entity (eg "user", "object" etc)
475
- * @param string $function The name of a valid function to be run
476
- * @param string $priority The priority - 0 is first, 1000 last, default is 500
477
- * @return true|false Depending on success
471
+ * @param integer $priority The priority - 0 is first, 1000 last, default is 500
472
+ * @param string $type
473
+ * @param string $callback
474
+ * @return boolean Depending on success
478 475
  */
479 476
 function register_plugin_hook($hook, $type, $callback, $priority = 500) {
480 477
 	elgg_deprecated_notice("register_plugin_hook() was deprecated by elgg_register_plugin_hook_handler()", 1.8);
@@ -488,7 +485,6 @@  discard block
 block discarded – undo
488 485
  * 
489 486
  * @param string $hook The name of the hook
490 487
  * @param string $entity_type The name of the type of entity (eg "user", "object" etc)
491
- * @param string $function The name of a valid function to be run
492 488
  * @since 1.7.0
493 489
  */
494 490
 function unregister_plugin_hook($hook, $entity_type, $callback) {
@@ -507,7 +503,6 @@  discard block
 block discarded – undo
507 503
  *
508 504
  * @see register_plugin_hook
509 505
  * @param string $hook The name of the hook to trigger
510
- * @param string $entity_type The name of the entity type to trigger it for (or "all", or "none")
511 506
  * @param array $params Any parameters. It's good practice to name the keys, i.e. by using array('name' => 'value', 'name2' => 'value2')
512 507
  * @param mixed $returnvalue An initial return value
513 508
  * @return mixed|null The cumulative return value for the plugin hook functions
@@ -617,7 +612,7 @@  discard block
 block discarded – undo
617 612
  *                                called by something on $path, if false the whole call stack is
618 613
  *                                searched.
619 614
  *
620
- * @return void
615
+ * @return boolean
621 616
  *
622 617
  * @deprecated 1.8 A neat but pointless function
623 618
  */
@@ -1215,8 +1210,8 @@  discard block
 block discarded – undo
1215 1210
  *
1216 1211
  * @deprecated 1.8 Use elgg_list_entities_from_metadata
1217 1212
  *
1218
- * @param mixed  $meta_name      Metadata name to search on
1219
- * @param mixed  $meta_value     The value to match, optionally
1213
+ * @param string  $meta_name      Metadata name to search on
1214
+ * @param string  $meta_value     The value to match, optionally
1220 1215
  * @param string $entity_type    The type of entity to look for, eg 'site' or 'object'
1221 1216
  * @param string $entity_subtype The subtype of the entity
1222 1217
  * @param int    $owner_guid     Owner GUID
@@ -1341,7 +1336,7 @@  discard block
 block discarded – undo
1341 1336
  *
1342 1337
  * @param string $label The item label
1343 1338
  * @param string $group The submenu group (default "a")
1344
- * @return bool whether the item was removed or not
1339
+ * @return ElggMenuItem|null whether the item was removed or not
1345 1340
  * @since 1.7.8
1346 1341
  */
1347 1342
 function remove_submenu_item($label, $group = 'a') {
@@ -1375,7 +1370,7 @@  discard block
 block discarded – undo
1375 1370
  * @param array  $menu_children Optionally, an array of submenu items (not used)
1376 1371
  * @param string $context       (not used)
1377 1372
  *
1378
- * @return true|false Depending on success
1373
+ * @return boolean Depending on success
1379 1374
  * @deprecated 1.8 use elgg_register_menu_item() for the menu 'site'
1380 1375
  */
1381 1376
 function add_menu($menu_name, $menu_url, $menu_children = array(), $context = "") {
@@ -1390,7 +1385,7 @@  discard block
 block discarded – undo
1390 1385
  *
1391 1386
  * @param string $menu_name The name of the menu item
1392 1387
  *
1393
- * @return true|false Depending on success
1388
+ * @return ElggMenuItem|null Depending on success
1394 1389
  * @deprecated 1.8 Use the new menu system
1395 1390
  */
1396 1391
 function remove_menu($menu_name) {
@@ -1469,7 +1464,7 @@  discard block
 block discarded – undo
1469 1464
  *
1470 1465
  * @param string $input A word
1471 1466
  *
1472
- * @return true|false
1467
+ * @return string|boolean
1473 1468
  */
1474 1469
 function remove_blacklist($input) {
1475 1470
 	elgg_deprecated_notice('remove_blacklist() was deprecated!', 1.8);
@@ -1542,7 +1537,7 @@  discard block
 block discarded – undo
1542 1537
  *
1543 1538
  * @param string $context The context of the page
1544 1539
  *
1545
- * @return mixed Either the context string, or false on failure
1540
+ * @return false|string Either the context string, or false on failure
1546 1541
  */
1547 1542
 function set_context($context) {
1548 1543
 	elgg_deprecated_notice('set_context() was deprecated by elgg_set_context().', 1.8);
@@ -1606,7 +1601,7 @@  discard block
 block discarded – undo
1606 1601
  *
1607 1602
  * @param array $pluginorder Optionally, a list of existing plugins and their orders
1608 1603
  *
1609
- * @return array The new list of plugins and their orders
1604
+ * @return boolean The new list of plugins and their orders
1610 1605
  */
1611 1606
 function regenerate_plugin_list($pluginorder = FALSE) {
1612 1607
 	$msg = 'regenerate_plugin_list() is (sorta) deprecated by elgg_generate_plugin_entities() and'
@@ -1772,7 +1767,7 @@  discard block
 block discarded – undo
1772 1767
  * @param string $plugin    The plugin name.
1773 1768
  * @param int    $site_guid The site id, if not specified then this is detected.
1774 1769
  *
1775
- * @return array
1770
+ * @return boolean
1776 1771
  * @throws InvalidClassException
1777 1772
  */
1778 1773
 function enable_plugin($plugin, $site_guid = null) {
@@ -1935,7 +1930,7 @@  discard block
 block discarded – undo
1935 1930
  * Get entities based on their private data by multiple keys.
1936 1931
  *
1937 1932
  * @param string $name           The name of the setting
1938
- * @param mixed  $type           Entity type
1933
+ * @param string  $type           Entity type
1939 1934
  * @param string $subtype        Entity subtype
1940 1935
  * @param int    $owner_guid     The GUID of the owning user
1941 1936
  * @param string $order_by       The field to order by; by default, time_created desc
@@ -2029,9 +2024,9 @@  discard block
 block discarded – undo
2029 2024
  * @param int $owner_guid The owner (default: all)
2030 2025
  * @param int $limit The number of entities to display on a page
2031 2026
  * @param true|false $fullview Whether or not to display the full view (default: true)
2032
- * @param true|false $viewtypetoggle Whether or not to allow gallery view
2027
+ * @param true|false $listtypetoggle Whether or not to allow gallery view
2033 2028
  * @param true|false $pagination Whether to display pagination (default: true)
2034
- * @param bool $order_by SQL order by clause
2029
+ * @param string|boolean $order_by SQL order by clause
2035 2030
  * @return string The viewable list of entities
2036 2031
  */
2037 2032
 function list_entities_from_relationship($relationship, $relationship_guid,
@@ -2237,8 +2232,8 @@  discard block
 block discarded – undo
2237 2232
 /**
2238 2233
  * Retrieves items from the river. All parameters are optional.
2239 2234
  *
2240
- * @param int|array $subject_guid         Acting entity to restrict to. Default: all
2241
- * @param int|array $object_guid          Entity being acted on to restrict to. Default: all
2235
+ * @param integer $subject_guid         Acting entity to restrict to. Default: all
2236
+ * @param integer $object_guid          Entity being acted on to restrict to. Default: all
2242 2237
  * @param string    $subject_relationship If set to a relationship type, this will use
2243 2238
  * 	                                      $subject_guid as the starting point and set the
2244 2239
  *                                        subjects to be all users this
@@ -2305,8 +2300,8 @@  discard block
 block discarded – undo
2305 2300
 /**
2306 2301
  * Returns a human-readable version of the river.
2307 2302
  *
2308
- * @param int|array $subject_guid         Acting entity to restrict to. Default: all
2309
- * @param int|array $object_guid          Entity being acted on to restrict to. Default: all
2303
+ * @param integer $subject_guid         Acting entity to restrict to. Default: all
2304
+ * @param integer $object_guid          Entity being acted on to restrict to. Default: all
2310 2305
  * @param string    $subject_relationship If set to a relationship type, this will use
2311 2306
  * 	                                      $subject_guid as the starting point and set
2312 2307
  *                                        the subjects to be all users this entity has this
@@ -2598,7 +2593,7 @@  discard block
 block discarded – undo
2598 2593
  * @param int $site_guid       Site GUID
2599 2594
  * @param int $collection_guid Collection GUID
2600 2595
  *
2601
- * @return mixed
2596
+ * @return boolean
2602 2597
  * @deprecated 1.8 Don't use this.
2603 2598
  */
2604 2599
 function remove_site_collection($site_guid, $collection_guid) {
@@ -2903,7 +2898,7 @@  discard block
 block discarded – undo
2903 2898
  * @param string $view              The view to extend, by default this is 'usersettings/main'.
2904 2899
  * @param int    $priority          Optional priority to govern the appearance in the list.
2905 2900
  *
2906
- * @return bool
2901
+ * @return boolean|null
2907 2902
  * @deprecated 1.8 Extend one of the views in core/settings
2908 2903
  */
2909 2904
 function extend_elgg_settings_page($new_settings_view, $view = 'usersettings/main',
@@ -3151,12 +3146,12 @@  discard block
 block discarded – undo
3151 3146
  * Set a setting for a plugin.
3152 3147
  *
3153 3148
  * @param string $name      The name - note, can't be "title".
3154
- * @param mixed  $value     The value.
3149
+ * @param string  $value     The value.
3155 3150
  * @param string $plugin_id Optional plugin name, if not specified
3156 3151
  *                          then it is detected from where you are calling from.
3157 3152
  *
3158 3153
  * @deprecated 1.8 Use elgg_set_plugin_setting() or \ElggPlugin->setSetting()
3159
- * @return int|false
3154
+ * @return boolean
3160 3155
  */
3161 3156
 function set_plugin_setting($name, $value, $plugin_id = null) {
3162 3157
 	elgg_deprecated_notice('set_plugin_setting() is deprecated by elgg_set_plugin_setting()', 1.8);
@@ -3212,12 +3207,12 @@  discard block
 block discarded – undo
3212 3207
 /**
3213 3208
  * Get a list of annotations for a given object/user/annotation type.
3214 3209
  *
3215
- * @param int|array $entity_guid       GUID to return annotations of (falsey for any)
3210
+ * @param integer $entity_guid       GUID to return annotations of (falsey for any)
3216 3211
  * @param string    $entity_type       Type of entity
3217 3212
  * @param string    $entity_subtype    Subtype of entity
3218 3213
  * @param string    $name              Name of annotation
3219 3214
  * @param mixed     $value             Value of annotation
3220
- * @param int|array $owner_guid        Owner(s) of annotation
3215
+ * @param integer $owner_guid        Owner(s) of annotation
3221 3216
  * @param int       $limit             Limit
3222 3217
  * @param int       $offset            Offset
3223 3218
  * @param string    $order_by          Order annotations by SQL
@@ -3314,15 +3309,15 @@  discard block
 block discarded – undo
3314 3309
 /**
3315 3310
  * Helper function to deprecate annotation calculation functions. Don't use.
3316 3311
  *
3317
- * @param unknown_type $entity_guid
3312
+ * @param integer $entity_guid
3318 3313
  * @param unknown_type $entity_type
3319 3314
  * @param unknown_type $entity_subtype
3320 3315
  * @param unknown_type $name
3321 3316
  * @param unknown_type $value
3322 3317
  * @param unknown_type $value_type
3323
- * @param unknown_type $owner_guid
3324
- * @param unknown_type $timelower
3325
- * @param unknown_type $timeupper
3318
+ * @param integer $owner_guid
3319
+ * @param integer $timelower
3320
+ * @param integer $timeupper
3326 3321
  * @param unknown_type $calculation
3327 3322
  * @internal Don't use this at all.
3328 3323
  * @deprecated 1.8 Use elgg_get_annotations()
@@ -3603,7 +3598,7 @@  discard block
 block discarded – undo
3603 3598
  * @param string $function_name The function to register
3604 3599
  * @param string $entity_type The entity type
3605 3600
  * @param string $entity_subtype The entity subtype
3606
- * @return true|false Depending on success
3601
+ * @return boolean Depending on success
3607 3602
  *
3608 3603
  * @deprecated 1.8 Use elgg_register_entity_url_handler()
3609 3604
  */
@@ -3724,7 +3719,7 @@  discard block
 block discarded – undo
3724 3719
  *
3725 3720
  * @param int $id The id of the metadata being retrieved.
3726 3721
  *
3727
- * @return mixed False on failure or \ElggMetadata
3722
+ * @return ElggExtender False on failure or \ElggMetadata
3728 3723
  * @deprecated 1.8 Use elgg_get_metadata_from_id()
3729 3724
  */
3730 3725
 function get_metadata($id) {
@@ -3737,7 +3732,7 @@  discard block
 block discarded – undo
3737 3732
  *
3738 3733
  * @param int $guid Entity GUID
3739 3734
  *
3740
- * @return bool
3735
+ * @return boolean|null
3741 3736
  * @deprecated 1.8 Use elgg_delete_metadata()
3742 3737
  */
3743 3738
 function clear_metadata($guid) {
@@ -3753,7 +3748,7 @@  discard block
 block discarded – undo
3753 3748
  *
3754 3749
  * @param int $owner_guid The owner
3755 3750
  *
3756
- * @return bool
3751
+ * @return boolean|null
3757 3752
  * @deprecated 1.8 Use elgg_delete_metadata()
3758 3753
  */
3759 3754
 function clear_metadata_by_owner($owner_guid) {
@@ -3769,7 +3764,7 @@  discard block
 block discarded – undo
3769 3764
  *
3770 3765
  * @param int $id The id of metadata to delete.
3771 3766
  *
3772
- * @return bool
3767
+ * @return boolean|null
3773 3768
  * @deprecated 1.8 Use elgg_delete_metadata()
3774 3769
  */
3775 3770
 function delete_metadata($id) {
@@ -3787,7 +3782,7 @@  discard block
 block discarded – undo
3787 3782
  * @param string $name  The name of the metadata
3788 3783
  * @param string $value The value of the metadata (useful to remove a single item of a set)
3789 3784
  *
3790
- * @return bool Depending on success
3785
+ * @return boolean|null Depending on success
3791 3786
  * @deprecated 1.8 Use elgg_delete_metadata()
3792 3787
  */
3793 3788
 function remove_metadata($guid, $name, $value = "") {
@@ -3829,7 +3824,7 @@  discard block
 block discarded – undo
3829 3824
  *
3830 3825
  * @param int $id The annotation id
3831 3826
  *
3832
- * @return bool
3827
+ * @return boolean|null
3833 3828
  * @deprecated 1.8 Use elgg_delete_annotations()
3834 3829
  */
3835 3830
 function delete_annotation($id) {
@@ -3846,7 +3841,7 @@  discard block
 block discarded – undo
3846 3841
  * @param int    $guid The entity guid
3847 3842
  * @param string $name The name of the annotation to delete.
3848 3843
  *
3849
- * @return int Number of annotations deleted or false if an error
3844
+ * @return boolean|null Number of annotations deleted or false if an error
3850 3845
  * @deprecated 1.8 Use elgg_delete_annotations()
3851 3846
  */
3852 3847
 function clear_annotations($guid, $name = "") {
@@ -3873,7 +3868,7 @@  discard block
 block discarded – undo
3873 3868
  *
3874 3869
  * @param int $owner_guid The owner
3875 3870
  *
3876
- * @return int Number of annotations deleted
3871
+ * @return boolean|null Number of annotations deleted
3877 3872
  * @deprecated 1.8 Use elgg_delete_annotations()
3878 3873
  */
3879 3874
 function clear_annotations_by_owner($owner_guid) {
@@ -3911,7 +3906,7 @@  discard block
 block discarded – undo
3911 3906
  *
3912 3907
  * @param string $handler The page type to handle
3913 3908
  * @param string $function Your function name
3914
- * @return true|false Depending on success
3909
+ * @return boolean Depending on success
3915 3910
  *
3916 3911
  * @deprecated 1.8 Use {@link elgg_register_page_handler()}
3917 3912
  */
@@ -3938,7 +3933,7 @@  discard block
 block discarded – undo
3938 3933
 /**
3939 3934
  * Register an annotation url handler.
3940 3935
  *
3941
- * @param string $function_name The function.
3936
+ * @param string $function The function.
3942 3937
  * @param string $extender_name The name, default 'all'.
3943 3938
  *
3944 3939
  * @deprecated 1.8 Use {@link elgg_register_annotation_url_handler()}
@@ -3953,10 +3948,8 @@  discard block
 block discarded – undo
3953 3948
  * It is recommended that you do not call this directly, instead use one of the wrapper functions in the
3954 3949
  * subtype files.
3955 3950
  *
3956
- * @param string $function_name The function to register
3957
- * @param string $extender_type Extender type
3958
- * @param string $extender_name The name of the extender
3959
- * @return true|false Depending on success
3951
+ * @param string $function The function to register
3952
+ * @return boolean Depending on success
3960 3953
  *
3961 3954
  * @deprecated 1.8 Use {@link elgg_register_extender_url_handler()}
3962 3955
  */
@@ -3972,7 +3965,7 @@  discard block
 block discarded – undo
3972 3965
  *
3973 3966
  * @param string $type The type of entity (object, site, user, group)
3974 3967
  * @param string $subtype The subtype to register (may be blank)
3975
- * @return true|false Depending on success
3968
+ * @return boolean Depending on success
3976 3969
  * 
3977 3970
  * @deprecated 1.8 Use {@link elgg_register_entity_type()}
3978 3971
  */
@@ -3984,7 +3977,7 @@  discard block
 block discarded – undo
3984 3977
 /**
3985 3978
  * Register a metadata url handler.
3986 3979
  *
3987
- * @param string $function_name The function.
3980
+ * @param string $function The function.
3988 3981
  * @param string $extender_name The name, default 'all'.
3989 3982
  * 
3990 3983
  * @deprecated 1.8 Use {@link elgg_register_metadata_url_handler()}
@@ -3998,7 +3991,7 @@  discard block
 block discarded – undo
3998 3991
  *
3999 3992
  * @param string $function_name The function to register
4000 3993
  * @param string $relationship_type The relationship type.
4001
- * @return true|false Depending on success
3994
+ * @return boolean Depending on success
4002 3995
  * 
4003 3996
  * @deprecated 1.8 Use {@link elgg_register_relationship_url_handler()}
4004 3997
  */
@@ -4310,7 +4303,7 @@  discard block
 block discarded – undo
4310 4303
  *
4311 4304
  * @param string $handler The identifier for the widget handler
4312 4305
  *
4313
- * @return void
4306
+ * @return boolean
4314 4307
  * @since 1.7.1
4315 4308
  * @deprecated 1.8 Use elgg_unregister_widget_type
4316 4309
  */
@@ -4409,7 +4402,7 @@  discard block
 block discarded – undo
4409 4402
  * @param string $context      Profile or dashboard
4410 4403
  * @param int    $owner        Owner guid
4411 4404
  *
4412
- * @return void
4405
+ * @return boolean
4413 4406
  * @deprecated 1.8 Don't use.
4414 4407
  */
4415 4408
 function reorder_widgets_from_panel($panelstring1, $panelstring2, $panelstring3, $context, $owner) {
@@ -4654,7 +4647,7 @@  discard block
 block discarded – undo
4654 4647
  * @param array  $page    The page URL elements
4655 4648
  * @param string $handler The base handler
4656 4649
  *
4657
- * @return true|false Depending on success
4650
+ * @return boolean Depending on success
4658 4651
  * @deprecated 1.8
4659 4652
  */
4660 4653
 function default_page_handler($page, $handler) {
Please login to merge, or discard this patch.