Completed
Push — master ( e1255d...678b0e )
by Antonio Carlos
02:36 queued 59s
created
src/Support/Collection.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -636,7 +636,7 @@  discard block
 block discarded – undo
636 636
      * Filter items by the given key value pair.
637 637
      *
638 638
      * @param  string  $key
639
-     * @param  mixed  $operator
639
+     * @param  string  $operator
640 640
      * @param  mixed  $value
641 641
      * @return static
642 642
      */
@@ -807,7 +807,7 @@  discard block
 block discarded – undo
807 807
      * Get the first item from the collection passing the given truth test.
808 808
      *
809 809
      * @param  callable|null  $callback
810
-     * @param  mixed  $default
810
+     * @param  stdClass  $default
811 811
      * @return mixed
812 812
      */
813 813
     public function first(callable $callback = null, $default = null)
@@ -867,7 +867,7 @@  discard block
 block discarded – undo
867 867
     /**
868 868
      * Get an item from the collection by key.
869 869
      *
870
-     * @param  mixed  $key
870
+     * @param  integer  $key
871 871
      * @param  mixed  $default
872 872
      * @return mixed
873 873
      */
@@ -1406,7 +1406,7 @@  discard block
 block discarded – undo
1406 1406
     /**
1407 1407
      * Get and remove the last item from the collection.
1408 1408
      *
1409
-     * @return mixed
1409
+     * @return string
1410 1410
      */
1411 1411
     public function pop()
1412 1412
     {
@@ -1504,7 +1504,7 @@  discard block
 block discarded – undo
1504 1504
      * Reduce the collection to a single value.
1505 1505
      *
1506 1506
      * @param  callable  $callback
1507
-     * @param  mixed  $initial
1507
+     * @param  integer  $initial
1508 1508
      * @return mixed
1509 1509
      */
1510 1510
     public function reduce(callable $callback, $initial = null)
@@ -1515,7 +1515,7 @@  discard block
 block discarded – undo
1515 1515
     /**
1516 1516
      * Create a collection of all elements that do not pass a given truth test.
1517 1517
      *
1518
-     * @param  callable|mixed  $callback
1518
+     * @param  \Closure  $callback
1519 1519
      * @return static
1520 1520
      */
1521 1521
     public function reject($callback = true)
@@ -2150,7 +2150,7 @@  discard block
 block discarded – undo
2150 2150
      * Dynamically access collection proxies.
2151 2151
      *
2152 2152
      * @param  string  $key
2153
-     * @return mixed
2153
+     * @return HigherOrderCollectionProxy
2154 2154
      *
2155 2155
      * @throws \Exception
2156 2156
      */
Please login to merge, or discard this patch.