Passed
Push — master ( 44a2e5...c0ec87 )
by
unknown
08:57
created
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/apiadmin/lib/phpbrowscap/BrowsCap.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -524,6 +524,7 @@
 block discarded – undo
524 524
     /**
525 525
      * Loads the cache into object's properties
526 526
      *
527
+     * @param string $cache_file
527 528
      * @return void
528 529
      */
529 530
     protected function _loadCache($cache_file)
Please login to merge, or discard this patch.
mod/apiadmin/start.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,6 @@
 block discarded – undo
117 117
  * @param int       $timebefore Lower time limit
118 118
  * @param int       $timeafter  Upper time limit
119 119
  * @param int       $object_id  GUID of an object
120
- * @param str       $ip_address The IP address.
121 120
  * @return mixed
122 121
  */
123 122
 function apiadmin_get_usage_log($by_key = '', $handler = '', $request = '', $method = '', $remote_address = '',
Please login to merge, or discard this patch.
mod/au_subgroups/lib/events.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,8 +129,7 @@  discard block
 block discarded – undo
129 129
  * 
130 130
  * @param type $event
131 131
  * @param type $type
132
- * @param ElggRelationship $object
133
- * @return boolean
132
+ * @return boolean|null
134 133
  */
135 134
 function join_group_event($event, $type, $relationship) {
136 135
 
@@ -192,7 +191,6 @@  discard block
 block discarded – undo
192 191
  * 
193 192
  * @param type $event
194 193
  * @param type $type
195
- * @param type $object
196 194
  */
197 195
 function leave_group_event($event, $type, $params) {
198 196
 	$guids = get_all_children_guids($params['group']);
Please login to merge, or discard this patch.
mod/au_subgroups/lib/functions.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -269,8 +269,7 @@
 block discarded – undo
269 269
  * of the parent or anything weird like that
270 270
  * 
271 271
  * @param type $user ElggUser
272
- * @param type $subgroup_guid
273
- * @param type $parentgroup_guid
272
+ * @param type $subgroup
274 273
  */
275 274
 function can_move_subgroup($subgroup, $parent, $user = NULL) {
276 275
 	if (!elgg_instanceof($user, 'user')) {
Please login to merge, or discard this patch.
mod/b_extended_profile/start.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -412,6 +412,10 @@
 block discarded – undo
412 412
 /*
413 413
  * Purpose: To sort education and work experience entities by their start date.. called before cmpEndYear so that the list is ordered by both start and end dates.
414 414
  */
415
+/**
416
+ * @param ElggEntity $foo
417
+ * @param ElggEntity $bar
418
+ */
415 419
 function cmpStartDate($foo, $bar)
416 420
 {
417 421
     $a = get_entity($foo);
Please login to merge, or discard this patch.
mod/blog_tools/classes/ColdTrick/BlogTools/Cron.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 	 * @param string $return_value optional stdout text
19 19
 	 * @param array  $params       supplied params
20 20
 	 *
21
-	 * @return void
21
+	 * @return string|null
22 22
 	 */
23 23
 	public static function daily($hook, $type, $return_value, $params) {
24 24
 		
Please login to merge, or discard this patch.