Completed
Push — master ( 8eb5fd...97a003 )
by Antonio Carlos
03:41
created
src/Support/Collection.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
      * Get the first item from the collection passing the given truth test.
360 360
      *
361 361
      * @param  callable|null  $callback
362
-     * @param  mixed  $default
362
+     * @param  stdClass  $default
363 363
      * @return mixed
364 364
      */
365 365
     public function first(callable $callback = null, $default = null)
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
     /**
407 407
      * Get an item from the collection by key.
408 408
      *
409
-     * @param  mixed  $key
409
+     * @param  integer  $key
410 410
      * @param  mixed  $default
411 411
      * @return mixed
412 412
      */
@@ -784,7 +784,7 @@  discard block
 block discarded – undo
784 784
     /**
785 785
      * Get and remove the last item from the collection.
786 786
      *
787
-     * @return mixed
787
+     * @return string
788 788
      */
789 789
     public function pop()
790 790
     {
Please login to merge, or discard this patch.
src/Support/LazyCollection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
      * Get the first item from the enumerable passing the given truth test.
323 323
      *
324 324
      * @param  callable|null  $callback
325
-     * @param  mixed  $default
325
+     * @param  stdClass  $default
326 326
      * @return mixed
327 327
      */
328 328
     public function first(callable $callback = null, $default = null)
@@ -1187,7 +1187,7 @@  discard block
 block discarded – undo
1187 1187
      * Explode the "value" and "key" arguments passed to "pluck".
1188 1188
      *
1189 1189
      * @param  string|array  $value
1190
-     * @param  string|array|null  $key
1190
+     * @param  string|null  $key
1191 1191
      * @return array
1192 1192
      */
1193 1193
     protected function explodePluckParameters($value, $key)
Please login to merge, or discard this patch.
src/Support/Traits/EnumeratesValues.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
      * Filter items by the given key value pair.
484 484
      *
485 485
      * @param  string  $key
486
-     * @param  mixed  $operator
486
+     * @param  string  $operator
487 487
      * @param  mixed  $value
488 488
      * @return static
489 489
      */
@@ -628,7 +628,7 @@  discard block
 block discarded – undo
628 628
     /**
629 629
      * Create a collection of all elements that do not pass a given truth test.
630 630
      *
631
-     * @param  callable|mixed  $callback
631
+     * @param  \Closure  $callback
632 632
      * @return static
633 633
      */
634 634
     public function reject($callback = true)
@@ -783,7 +783,7 @@  discard block
 block discarded – undo
783 783
      * Dynamically access collection proxies.
784 784
      *
785 785
      * @param  string  $key
786
-     * @return mixed
786
+     * @return HigherOrderCollectionProxy
787 787
      *
788 788
      * @throws \Exception
789 789
      */
Please login to merge, or discard this patch.
src/Support/Arr.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,6 +65,7 @@  discard block
 block discarded – undo
65 65
      * Cross join the given arrays, returning all possible permutations.
66 66
      *
67 67
      * @param  iterable  ...$arrays
68
+     * @param iterable[] $arrays
68 69
      * @return array
69 70
      */
70 71
     public static function crossJoin(...$arrays)
@@ -406,7 +407,7 @@  discard block
 block discarded – undo
406 407
      *
407 408
      * @param  iterable  $array
408 409
      * @param  string|array  $value
409
-     * @param  string|array|null  $key
410
+     * @param  string|null  $key
410 411
      * @return array
411 412
      */
412 413
     public static function pluck($array, $value, $key = null)
Please login to merge, or discard this patch.
src/Support/Str.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
      * Determine if a given string contains a given substring.
169 169
      *
170 170
      * @param  string  $haystack
171
-     * @param  string|string[]  $needles
171
+     * @param  string  $needles
172 172
      * @return bool
173 173
      */
174 174
     public static function contains($haystack, $needles)
Please login to merge, or discard this patch.