Completed
Push — master ( 6bd308...0b7d57 )
by Antonio Carlos
07:27
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
@@ -452,7 +452,7 @@  discard block
 block discarded – undo
452 452
      * Filter items by the given key value pair.
453 453
      *
454 454
      * @param  string  $key
455
-     * @param  mixed  $operator
455
+     * @param  string  $operator
456 456
      * @param  mixed  $value
457 457
      * @return static
458 458
      */
@@ -578,7 +578,7 @@  discard block
 block discarded – undo
578 578
      * Get the first item from the collection.
579 579
      *
580 580
      * @param  callable|null  $callback
581
-     * @param  mixed  $default
581
+     * @param  stdClass  $default
582 582
      * @return mixed
583 583
      */
584 584
     public function first(callable $callback = null, $default = null)
@@ -638,7 +638,7 @@  discard block
 block discarded – undo
638 638
     /**
639 639
      * Get an item from the collection by key.
640 640
      *
641
-     * @param  mixed  $key
641
+     * @param  integer  $key
642 642
      * @param  mixed  $default
643 643
      * @return mixed
644 644
      */
@@ -1234,7 +1234,7 @@  discard block
 block discarded – undo
1234 1234
      * Reduce the collection to a single value.
1235 1235
      *
1236 1236
      * @param  callable  $callback
1237
-     * @param  mixed  $initial
1237
+     * @param  integer  $initial
1238 1238
      * @return mixed
1239 1239
      */
1240 1240
     public function reduce(callable $callback, $initial = null)
@@ -1245,7 +1245,7 @@  discard block
 block discarded – undo
1245 1245
     /**
1246 1246
      * Create a collection of all elements that do not pass a given truth test.
1247 1247
      *
1248
-     * @param  callable|mixed  $callback
1248
+     * @param  \Closure  $callback
1249 1249
      * @return static
1250 1250
      */
1251 1251
     public function reject($callback)
@@ -1793,7 +1793,7 @@  discard block
 block discarded – undo
1793 1793
      * Dynamically access collection proxies.
1794 1794
      *
1795 1795
      * @param  string  $key
1796
-     * @return mixed
1796
+     * @return HigherOrderCollectionProxy
1797 1797
      *
1798 1798
      * @throws \Exception
1799 1799
      */
Please login to merge, or discard this patch.