Completed
Push — master ( 7c9b2f...038cbf )
by Luke
32s
created
src/Collection/AbstractCollection.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -552,7 +552,7 @@  discard block
 block discarded – undo
552 552
      *
553 553
      * @param array $items Any number of arguments will be pushed onto the
554 554
      *
555
-     * @return mixed The first item in this collection
555
+     * @return AbstractCollection The first item in this collection
556 556
      */
557 557
     public function push(...$items)
558 558
     {
@@ -566,7 +566,7 @@  discard block
 block discarded – undo
566 566
      *
567 567
      * Returns a new collection with $items added.
568 568
      *
569
-     * @return mixed The first item in this collection
569
+     * @return AbstractCollection The first item in this collection
570 570
      */
571 571
     public function unshift(...$items)
572 572
     {
@@ -628,7 +628,7 @@  discard block
 block discarded – undo
628 628
     /**
629 629
      * Iterate over each item that matches criteria in callback.
630 630
      *
631
-     * @param Closure|callable $callback A callback to use
631
+     * @param Closure $callback A callback to use
632 632
      * @param object           $bindTo   The object to bind to
633 633
      *
634 634
      * @return AbstractCollection
@@ -745,7 +745,7 @@  discard block
 block discarded – undo
745 745
     /**
746 746
      * Returns collection in reverse order.
747 747
      *
748
-     * @param null $preserveKeys True if you want to preserve collection's keys
748
+     * @param boolean $preserveKeys True if you want to preserve collection's keys
749 749
      *
750 750
      * @return AbstractCollection This collection in reverse order.
751 751
      */
Please login to merge, or discard this patch.