@@ -305,7 +305,7 @@ discard block |
||
| 305 | 305 | /** |
| 306 | 306 | * Determine if an item exists in the collection. |
| 307 | 307 | * |
| 308 | - * @param mixed $key |
|
| 308 | + * @param Closure $key |
|
| 309 | 309 | * @param mixed $value |
| 310 | 310 | * |
| 311 | 311 | * @return bool |
@@ -418,7 +418,7 @@ discard block |
||
| 418 | 418 | * Filter items by the given key value pair. |
| 419 | 419 | * |
| 420 | 420 | * @param string $key |
| 421 | - * @param mixed $operator |
|
| 421 | + * @param string $operator |
|
| 422 | 422 | * @param mixed $value |
| 423 | 423 | * |
| 424 | 424 | * @return static |
@@ -496,7 +496,7 @@ discard block |
||
| 496 | 496 | /** |
| 497 | 497 | * Get an item from the collection by key. |
| 498 | 498 | * |
| 499 | - * @param mixed $key |
|
| 499 | + * @param integer $key |
|
| 500 | 500 | * @param mixed $default |
| 501 | 501 | * |
| 502 | 502 | * @return mixed |
@@ -891,7 +891,7 @@ discard block |
||
| 891 | 891 | * Reduce the collection to a single value. |
| 892 | 892 | * |
| 893 | 893 | * @param callable $callback |
| 894 | - * @param mixed $initial |
|
| 894 | + * @param integer $initial |
|
| 895 | 895 | * |
| 896 | 896 | * @return mixed |
| 897 | 897 | */ |
@@ -903,7 +903,7 @@ discard block |
||
| 903 | 903 | /** |
| 904 | 904 | * Create a collection of all elements that do not pass a given truth test. |
| 905 | 905 | * |
| 906 | - * @param mixed $callback |
|
| 906 | + * @param Closure $callback |
|
| 907 | 907 | * |
| 908 | 908 | * @return static |
| 909 | 909 | */ |
@@ -1018,7 +1018,7 @@ discard block |
||
| 1018 | 1018 | /** |
| 1019 | 1019 | * Chunk the underlying collection array. |
| 1020 | 1020 | * |
| 1021 | - * @param int|float $size |
|
| 1021 | + * @param double $size |
|
| 1022 | 1022 | * |
| 1023 | 1023 | * @return static |
| 1024 | 1024 | */ |
@@ -1637,8 +1637,8 @@ discard block |
||
| 1637 | 1637 | /** |
| 1638 | 1638 | * Explode the "value" and "key" arguments passed to "pluck". |
| 1639 | 1639 | * |
| 1640 | - * @param string|array $value |
|
| 1641 | - * @param string|array|null $key |
|
| 1640 | + * @param string $value |
|
| 1641 | + * @param string|null $key |
|
| 1642 | 1642 | * |
| 1643 | 1643 | * @return array |
| 1644 | 1644 | */ |
@@ -1692,7 +1692,7 @@ discard block |
||
| 1692 | 1692 | /** |
| 1693 | 1693 | * Get a value retrieving callback. |
| 1694 | 1694 | * |
| 1695 | - * @param mixed $value |
|
| 1695 | + * @param callable|null $value |
|
| 1696 | 1696 | * |
| 1697 | 1697 | * @return callable |
| 1698 | 1698 | */ |