@@ -692,7 +692,7 @@ |
||
| 692 | 692 | * |
| 693 | 693 | * @param string $data The data to check |
| 694 | 694 | * |
| 695 | - * @return bool Whether the data is quoted or not |
|
| 695 | + * @return integer Whether the data is quoted or not |
|
| 696 | 696 | */ |
| 697 | 697 | protected function isQuoted($data) |
| 698 | 698 | { |
@@ -283,7 +283,7 @@ discard block |
||
| 283 | 283 | * also optionally throw an OutOfBoundsException if no value is found. |
| 284 | 284 | * |
| 285 | 285 | * @param mixed $index The index of the data you want to get |
| 286 | - * @param mixed $default The default value to return if none available |
|
| 286 | + * @param null|integer $default The default value to return if none available |
|
| 287 | 287 | * @param bool $throw True if you want an exception to be thrown if no data found at $index |
| 288 | 288 | * |
| 289 | 289 | * @throws OutOfBoundsException If $throw is true and $index isn't found |
@@ -562,7 +562,7 @@ discard block |
||
| 562 | 562 | * |
| 563 | 563 | * @param array $items Any number of arguments will be pushed onto the |
| 564 | 564 | * |
| 565 | - * @return mixed The first item in this collection |
|
| 565 | + * @return AbstractCollection The first item in this collection |
|
| 566 | 566 | */ |
| 567 | 567 | public function push(...$items) |
| 568 | 568 | { |
@@ -576,7 +576,7 @@ discard block |
||
| 576 | 576 | * |
| 577 | 577 | * Returns a new collection with $items added. |
| 578 | 578 | * |
| 579 | - * @return mixed The first item in this collection |
|
| 579 | + * @return AbstractCollection The first item in this collection |
|
| 580 | 580 | */ |
| 581 | 581 | public function unshift(...$items) |
| 582 | 582 | { |
@@ -638,7 +638,7 @@ discard block |
||
| 638 | 638 | /** |
| 639 | 639 | * Iterate over each item that matches criteria in callback. |
| 640 | 640 | * |
| 641 | - * @param Closure|callable $callback A callback to use |
|
| 641 | + * @param Closure $callback A callback to use |
|
| 642 | 642 | * @param object $bindTo The object to bind to |
| 643 | 643 | * |
| 644 | 644 | * @return AbstractCollection |
@@ -755,7 +755,7 @@ discard block |
||
| 755 | 755 | /** |
| 756 | 756 | * Returns collection in reverse order. |
| 757 | 757 | * |
| 758 | - * @param null $preserveKeys True if you want to preserve collection's keys |
|
| 758 | + * @param boolean $preserveKeys True if you want to preserve collection's keys |
|
| 759 | 759 | * |
| 760 | 760 | * @return AbstractCollection This collection in reverse order. |
| 761 | 761 | */ |