@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | /** |
210 | 210 | * Determine if an item exists in the collection. |
211 | 211 | * |
212 | - * @param mixed $key |
|
212 | + * @param \Closure $key |
|
213 | 213 | * @param mixed $operator |
214 | 214 | * @param mixed $value |
215 | 215 | * @return bool |
@@ -452,7 +452,7 @@ discard block |
||
452 | 452 | * Filter items by the given key value pair. |
453 | 453 | * |
454 | 454 | * @param string $key |
455 | - * @param mixed $operator |
|
455 | + * @param string $operator |
|
456 | 456 | * @param mixed $value |
457 | 457 | * @return static |
458 | 458 | */ |
@@ -578,7 +578,7 @@ discard block |
||
578 | 578 | * Get the first item from the collection. |
579 | 579 | * |
580 | 580 | * @param callable|null $callback |
581 | - * @param mixed $default |
|
581 | + * @param stdClass $default |
|
582 | 582 | * @return mixed |
583 | 583 | */ |
584 | 584 | public function first(callable $callback = null, $default = null) |
@@ -638,7 +638,7 @@ discard block |
||
638 | 638 | /** |
639 | 639 | * Get an item from the collection by key. |
640 | 640 | * |
641 | - * @param mixed $key |
|
641 | + * @param integer $key |
|
642 | 642 | * @param mixed $default |
643 | 643 | * @return mixed |
644 | 644 | */ |
@@ -1231,7 +1231,7 @@ discard block |
||
1231 | 1231 | /** |
1232 | 1232 | * Create a collection of all elements that do not pass a given truth test. |
1233 | 1233 | * |
1234 | - * @param callable|mixed $callback |
|
1234 | + * @param \Closure $callback |
|
1235 | 1235 | * @return static |
1236 | 1236 | */ |
1237 | 1237 | public function reject($callback) |
@@ -1783,7 +1783,7 @@ discard block |
||
1783 | 1783 | * Dynamically access collection proxies. |
1784 | 1784 | * |
1785 | 1785 | * @param string $key |
1786 | - * @return mixed |
|
1786 | + * @return HigherOrderCollectionProxy |
|
1787 | 1787 | * |
1788 | 1788 | * @throws \Exception |
1789 | 1789 | */ |