@@ -552,7 +552,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | */ |