GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Failed Conditions
Pull Request — master (#34)
by Jacob
13:13
created
src/collection_functions.php 1 patch
Doc Comments   +7 added lines, -6 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 /**
145 145
  * Returns a non-lazy collection of shuffled items from $collection.
146 146
  *
147
- * @param array|Traversable $collection
147
+ * @param CollectionTrait $collection
148 148
  * @return Collection
149 149
  */
150 150
 function shuffle($collection)
@@ -268,6 +268,7 @@  discard block
 block discarded – undo
268 268
  * Returns a lazy collection with items from all $collections passed as argument appended together
269 269
  *
270 270
  * @param (array|\Traversable)[] ...$collections
271
+ * @param integer[] $collections
271 272
  * @return Collection
272 273
  */
273 274
 function concat(...$collections)
@@ -336,7 +337,7 @@  discard block
 block discarded – undo
336 337
  * Returns a non-lazy collection sorted using $collection($item1, $item2, $key1, $key2 ). $collection should
337 338
  * return true if first item is larger than the second and false otherwise.
338 339
  *
339
- * @param array|Traversable $collection
340
+ * @param CollectionTrait $collection
340 341
  * @param callable $function ($value1, $value2, $key1, $key2)
341 342
  * @return Collection
342 343
  */
@@ -444,7 +445,7 @@  discard block
 block discarded – undo
444 445
 /**
445 446
  * Executes $function for each item in $collection
446 447
  *
447
- * @param array|Traversable $collection
448
+ * @param CollectionTrait $collection
448 449
  * @param callable $function ($value, $key)
449 450
  * @return Collection
450 451
  */
@@ -1420,7 +1421,7 @@  discard block
 block discarded – undo
1420 1421
  * Returns a lazy collection of data extracted from $collection items by dot separated key path. Supports the *
1421 1422
  * wildcard. If a key contains \ or * it must be escaped using \ character.
1422 1423
  *
1423
- * @param array|Traversable $collection
1424
+ * @param CollectionTrait $collection
1424 1425
  * @param mixed $keyPath
1425 1426
  * @return Collection
1426 1427
  */
@@ -1587,7 +1588,7 @@  discard block
 block discarded – undo
1587 1588
 /**
1588 1589
  * Returns maximal value from $collection.
1589 1590
  *
1590
- * @param array|Traversable $collection
1591
+ * @param CollectionTrait $collection
1591 1592
  * @return mixed
1592 1593
  */
1593 1594
 function max($collection)
@@ -1604,7 +1605,7 @@  discard block
 block discarded – undo
1604 1605
 /**
1605 1606
  * Returns minimal value from $collection.
1606 1607
  *
1607
- * @param array|Traversable $collection
1608
+ * @param CollectionTrait $collection
1608 1609
  * @return mixed
1609 1610
  */
1610 1611
 function min($collection)
Please login to merge, or discard this patch.