Completed
Push — master ( a51ab2...247c5c )
by Antonio Carlos
03:22
created
src/Support/Collection.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     /**
210 210
      * Determine if an item exists in the collection.
211 211
      *
212
-     * @param  mixed  $key
212
+     * @param  \Closure  $key
213 213
      * @param  mixed  $operator
214 214
      * @param  mixed  $value
215 215
      * @return bool
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
      * Filter items by the given key value pair.
489 489
      *
490 490
      * @param  string  $key
491
-     * @param  mixed  $operator
491
+     * @param  string  $operator
492 492
      * @param  mixed  $value
493 493
      * @return static
494 494
      */
@@ -627,7 +627,7 @@  discard block
 block discarded – undo
627 627
      * Get the first item from the collection.
628 628
      *
629 629
      * @param  callable|null  $callback
630
-     * @param  mixed  $default
630
+     * @param  stdClass  $default
631 631
      * @return mixed
632 632
      */
633 633
     public function first(callable $callback = null, $default = null)
@@ -687,7 +687,7 @@  discard block
 block discarded – undo
687 687
     /**
688 688
      * Get an item from the collection by key.
689 689
      *
690
-     * @param  mixed  $key
690
+     * @param  integer  $key
691 691
      * @param  mixed  $default
692 692
      * @return mixed
693 693
      */
@@ -1283,7 +1283,7 @@  discard block
 block discarded – undo
1283 1283
      * Reduce the collection to a single value.
1284 1284
      *
1285 1285
      * @param  callable  $callback
1286
-     * @param  mixed  $initial
1286
+     * @param  integer  $initial
1287 1287
      * @return mixed
1288 1288
      */
1289 1289
     public function reduce(callable $callback, $initial = null)
@@ -1294,7 +1294,7 @@  discard block
 block discarded – undo
1294 1294
     /**
1295 1295
      * Create a collection of all elements that do not pass a given truth test.
1296 1296
      *
1297
-     * @param  callable|mixed  $callback
1297
+     * @param  \Closure  $callback
1298 1298
      * @return static
1299 1299
      */
1300 1300
     public function reject($callback)
@@ -1857,7 +1857,7 @@  discard block
 block discarded – undo
1857 1857
      * Dynamically access collection proxies.
1858 1858
      *
1859 1859
      * @param  string  $key
1860
-     * @return mixed
1860
+     * @return HigherOrderCollectionProxy
1861 1861
      *
1862 1862
      * @throws \Exception
1863 1863
      */
Please login to merge, or discard this patch.