Passed
Push — french_blog_title_validation ( 16ddde...971f0c )
by
unknown
20:10
created
mod/group_tools/lib/hooks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -685,7 +685,7 @@
 block discarded – undo
685 685
  * @param bool   $return_value true, return false to stop the action
686 686
  * @param null   $params       passed on params
687 687
  *
688
- * @return bool
688
+ * @return boolean|null
689 689
  */
690 690
 function group_tools_join_group_action_handler($hook, $type, $return_value, $params) {
691 691
 	// hacky way around a short comming of Elgg core to allow users to join a group
Please login to merge, or discard this patch.
mod/groups/start.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -939,7 +939,7 @@  discard block
 block discarded – undo
939 939
  * @param string $type
940 940
  * @param string $return
941 941
  * @param array  $params
942
- * @return bool
942
+ * @return false|null
943 943
  */
944 944
 function discussion_comment_override($hook, $type, $return, $params) {
945 945
 	if (elgg_instanceof($params['entity'], 'object', 'groupforumtopic')) {
@@ -1290,7 +1290,7 @@  discard block
 block discarded – undo
1290 1290
 /**
1291 1291
  * Runs unit tests for groups
1292 1292
  *
1293
- * @return array
1293
+ * @return string[]
1294 1294
  */
1295 1295
 function groups_test($hook, $type, $value, $params) {
1296 1296
 	global $CONFIG;
Please login to merge, or discard this patch.
mod/htmlawed/start.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
 /**
192 192
  * Runs unit tests for htmlawed
193 193
  *
194
- * @return array
194
+ * @return string[]
195 195
  */
196 196
 function htmlawed_test($hook, $type, $value, $params) {
197 197
     $value[] = dirname(__FILE__) . '/tests/tags.php';
Please login to merge, or discard this patch.
mod/mentions/start.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,6 @@
 block discarded – undo
51 51
  * Rewrites a view for @username mentions.
52 52
  *
53 53
  * @param string $hook    The name of the hook
54
- * @param string $type    The type of the hook
55
- * @param string $content The content of the page
56 54
  * @return string
57 55
  */
58 56
 function mentions_rewrite($hook, $entity_type, $returnvalue, $params) {
Please login to merge, or discard this patch.
mod/messages/start.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -630,7 +630,7 @@
 block discarded – undo
630 630
  * @param string $return_value
631 631
  * @param array  $params
632 632
  *
633
- * @return array
633
+ * @return string
634 634
  */
635 635
 function messages_ecml_views_hook($hook, $entity_type, $return_value, $params) {
636 636
 	$return_value['messages/messages'] = elgg_echo('messages');
Please login to merge, or discard this patch.
mod/missions/lib/missions-errors.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@  discard block
 block discarded – undo
41 41
  * Wes7ley
42 42
  * Wesley9
43 43
  */
44
+/**
45
+ * @param string $name
46
+ */
44 47
 function mm_is_valid_person_name($name)
45 48
 {
46 49
 	$regex = "/^[^0-9]+$/";
@@ -57,6 +60,9 @@  discard block
 block discarded – undo
57 60
  * 532K351
58 61
  * @578(532)
59 62
  */
63
+/**
64
+ * @param string $num
65
+ */
60 66
 function mm_is_guid_number($num)
61 67
 {
62 68
 	$regex = "/^[0-9]*$/";
@@ -110,6 +116,9 @@  discard block
 block discarded – undo
110 116
  * Tests a the start time and duration of the given day of the week.
111 117
  * Also defaults the minutes to '00' if the hour is set and the minute value is null.
112 118
  */
119
+/**
120
+ * @param string $day
121
+ */
113 122
 function mm_validate_time($day, $input_array)
114 123
 {
115 124
 	/*$start_hour = $input_array[$day . '_start_hour'];
Please login to merge, or discard this patch.
mod/missions/start.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
  * @param $type
196 196
  * @param $value
197 197
  * @param $params
198
- * @return array
198
+ * @return string[]
199 199
  *
200 200
  * to run the tests: http://127.0.0.1/gcconnex/engine/tests/suite.php
201 201
  *
Please login to merge, or discard this patch.
mod/missions_organization/lib/missions-organization.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -46,6 +46,9 @@  discard block
 block discarded – undo
46 46
  * Function to format the dropdown menu input.
47 47
  * If the input is not an entity then it returns false.
48 48
  */
49
+/**
50
+ * @param integer $input
51
+ */
49 52
 function mo_format_input_node($input) {
50 53
 	if(elgg_entity_exists($input)) {
51 54
 		return 'MOrg:' . $input;
@@ -145,6 +148,9 @@  discard block
 block discarded – undo
145 148
 /*
146 149
  * Extracts node guid from the stored data.
147 150
  */
151
+/**
152
+ * @return integer
153
+ */
148 154
 function mo_extract_node_guid($node_string) {
149 155
 	$node_array = explode(':', $node_string);
150 156
 	return $node_array[1];
Please login to merge, or discard this patch.
mod/mt_activity_tabs/lib/events.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 /**
6 6
  * Pagesetup
7 7
  * 
8
- * @return type
8
+ * @return null|boolean
9 9
  */
10 10
 function pagesetup() {
11 11
 	if (!elgg_is_logged_in()) {
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
 /**
141 141
  * Run-once upgrades
142
- * @return boolean
142
+ * @return boolean|null
143 143
  */
144 144
 function upgrades() {
145 145
 	if (!elgg_is_admin_logged_in()) {
Please login to merge, or discard this patch.