Passed
Push — solr-crawler-auth ( f76e9d...8ebcd3 )
by Ilia
21:26
created
engine/lib/upgrades/2009102801.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
  * @param bool   $move       True to move, false to copy.
137 137
  * @param string $preference to|from If file collisions, which dir has preference.
138 138
  *
139
- * @return bool
139
+ * @return false|null
140 140
  */
141 141
 function merge_directories($from, $to, $move = false, $preference = 'to') {
142 142
 	if (!$entries = scandir($from)) {
Please login to merge, or discard this patch.
engine/lib/upgrades/create_upgrade.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
  * @param string $directory  Directory to look in
168 168
  * @param array  $exceptions Array of filenames to ignore
169 169
  * @param array  $list       Array of files to append to
170
- * @param mixed  $extensions Array of extensions to allow, NULL for all. Use a dot: array('.php').
170
+ * @param string[]  $extensions Array of extensions to allow, NULL for all. Use a dot: array('.php').
171 171
  *
172 172
  * @return array Filenames in $directory, in the form $directory/filename.
173 173
  */
Please login to merge, or discard this patch.
engine/lib/views.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -967,6 +967,7 @@
 block discarded – undo
967 967
  *      'list_type'        List type: 'list' (default), 'gallery'
968 968
  *      'list_type_toggle' Display the list type toggle?
969 969
  *      'no_results'       Message to display if no results (string|Closure)
970
+ * @param integer $limit
970 971
  *
971 972
  * @return string The rendered list of entities
972 973
  * @access private
Please login to merge, or discard this patch.
engine/lib/widgets.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
  * @param string $context    The context for this widget
33 33
  * @param int    $access_id  If not specified, it is set to the default access level
34 34
  *
35
- * @return int|false Widget GUID or false on failure
35
+ * @return integer Widget GUID or false on failure
36 36
  * @since 1.8.0
37 37
  */
38 38
 function elgg_create_widget($owner_guid, $handler, $context, $access_id = null) {
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
  * @param string $type   The type of entity being created.
291 291
  * @param string $return Value
292 292
  * @param mixed  $params Params
293
- * @return true|null
293
+ * @return boolean|null
294 294
  * @access private
295 295
  */
296 296
 function _elgg_default_widgets_permissions_override($hook, $type, $return, $params) {
Please login to merge, or discard this patch.
mod/group_tools/lib/functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -446,7 +446,7 @@
 block discarded – undo
446 446
  * @param int    $group_guid the group GUID
447 447
  * @param string $email      the email address
448 448
  *
449
- * @return boolean|string the invite code, or false on failure
449
+ * @return string|false the invite code, or false on failure
450 450
  */
451 451
 function group_tools_generate_email_invite_code($group_guid, $email) {
452 452
 	$result = false;
Please login to merge, or discard this patch.
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.