@@ -580,7 +580,7 @@ discard block |
||
| 580 | 580 | * Filter items by the given key value pair. |
| 581 | 581 | * |
| 582 | 582 | * @param string $key |
| 583 | - * @param mixed $operator |
|
| 583 | + * @param string $operator |
|
| 584 | 584 | * @param mixed $value |
| 585 | 585 | * @return static |
| 586 | 586 | */ |
@@ -751,7 +751,7 @@ discard block |
||
| 751 | 751 | * Get the first item from the collection. |
| 752 | 752 | * |
| 753 | 753 | * @param callable|null $callback |
| 754 | - * @param mixed $default |
|
| 754 | + * @param stdClass $default |
|
| 755 | 755 | * @return mixed |
| 756 | 756 | */ |
| 757 | 757 | public function first(callable $callback = null, $default = null) |
@@ -811,7 +811,7 @@ discard block |
||
| 811 | 811 | /** |
| 812 | 812 | * Get an item from the collection by key. |
| 813 | 813 | * |
| 814 | - * @param mixed $key |
|
| 814 | + * @param integer $key |
|
| 815 | 815 | * @param mixed $default |
| 816 | 816 | * @return mixed |
| 817 | 817 | */ |
@@ -1339,7 +1339,7 @@ discard block |
||
| 1339 | 1339 | /** |
| 1340 | 1340 | * Get and remove the last item from the collection. |
| 1341 | 1341 | * |
| 1342 | - * @return mixed |
|
| 1342 | + * @return string |
|
| 1343 | 1343 | */ |
| 1344 | 1344 | public function pop() |
| 1345 | 1345 | { |
@@ -1437,7 +1437,7 @@ discard block |
||
| 1437 | 1437 | * Reduce the collection to a single value. |
| 1438 | 1438 | * |
| 1439 | 1439 | * @param callable $callback |
| 1440 | - * @param mixed $initial |
|
| 1440 | + * @param integer $initial |
|
| 1441 | 1441 | * @return mixed |
| 1442 | 1442 | */ |
| 1443 | 1443 | public function reduce(callable $callback, $initial = null) |
@@ -1448,7 +1448,7 @@ discard block |
||
| 1448 | 1448 | /** |
| 1449 | 1449 | * Create a collection of all elements that do not pass a given truth test. |
| 1450 | 1450 | * |
| 1451 | - * @param callable|mixed $callback |
|
| 1451 | + * @param \Closure $callback |
|
| 1452 | 1452 | * @return static |
| 1453 | 1453 | */ |
| 1454 | 1454 | public function reject($callback = true) |
@@ -2061,7 +2061,7 @@ discard block |
||
| 2061 | 2061 | * Dynamically access collection proxies. |
| 2062 | 2062 | * |
| 2063 | 2063 | * @param string $key |
| 2064 | - * @return mixed |
|
| 2064 | + * @return HigherOrderCollectionProxy |
|
| 2065 | 2065 | * |
| 2066 | 2066 | * @throws \Exception |
| 2067 | 2067 | */ |