@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | * Get the first item from the collection passing the given truth test. |
360 | 360 | * |
361 | 361 | * @param callable|null $callback |
362 | - * @param mixed $default |
|
362 | + * @param stdClass $default |
|
363 | 363 | * @return mixed |
364 | 364 | */ |
365 | 365 | public function first(callable $callback = null, $default = null) |
@@ -406,7 +406,7 @@ discard block |
||
406 | 406 | /** |
407 | 407 | * Get an item from the collection by key. |
408 | 408 | * |
409 | - * @param mixed $key |
|
409 | + * @param integer $key |
|
410 | 410 | * @param mixed $default |
411 | 411 | * @return mixed |
412 | 412 | */ |
@@ -784,7 +784,7 @@ discard block |
||
784 | 784 | /** |
785 | 785 | * Get and remove the last item from the collection. |
786 | 786 | * |
787 | - * @return mixed |
|
787 | + * @return string |
|
788 | 788 | */ |
789 | 789 | public function pop() |
790 | 790 | { |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | * Get the first item from the enumerable passing the given truth test. |
323 | 323 | * |
324 | 324 | * @param callable|null $callback |
325 | - * @param mixed $default |
|
325 | + * @param stdClass $default |
|
326 | 326 | * @return mixed |
327 | 327 | */ |
328 | 328 | public function first(callable $callback = null, $default = null) |
@@ -1187,7 +1187,7 @@ discard block |
||
1187 | 1187 | * Explode the "value" and "key" arguments passed to "pluck". |
1188 | 1188 | * |
1189 | 1189 | * @param string|array $value |
1190 | - * @param string|array|null $key |
|
1190 | + * @param string|null $key |
|
1191 | 1191 | * @return array |
1192 | 1192 | */ |
1193 | 1193 | protected function explodePluckParameters($value, $key) |
@@ -483,7 +483,7 @@ discard block |
||
483 | 483 | * Filter items by the given key value pair. |
484 | 484 | * |
485 | 485 | * @param string $key |
486 | - * @param mixed $operator |
|
486 | + * @param string $operator |
|
487 | 487 | * @param mixed $value |
488 | 488 | * @return static |
489 | 489 | */ |
@@ -628,7 +628,7 @@ discard block |
||
628 | 628 | /** |
629 | 629 | * Create a collection of all elements that do not pass a given truth test. |
630 | 630 | * |
631 | - * @param callable|mixed $callback |
|
631 | + * @param \Closure $callback |
|
632 | 632 | * @return static |
633 | 633 | */ |
634 | 634 | public function reject($callback = true) |
@@ -783,7 +783,7 @@ discard block |
||
783 | 783 | * Dynamically access collection proxies. |
784 | 784 | * |
785 | 785 | * @param string $key |
786 | - * @return mixed |
|
786 | + * @return HigherOrderCollectionProxy |
|
787 | 787 | * |
788 | 788 | * @throws \Exception |
789 | 789 | */ |