@@ -13,7 +13,6 @@ discard block |
||
| 13 | 13 | use CallableUnifierTrait; |
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | - * @param array $items |
|
| 17 | 16 | * @return static |
| 18 | 17 | */ |
| 19 | 18 | public static function from($iterable) |
@@ -49,7 +48,7 @@ discard block |
||
| 49 | 48 | /** |
| 50 | 49 | * Return reindexed items |
| 51 | 50 | * |
| 52 | - * @return array |
|
| 51 | + * @return callable |
|
| 53 | 52 | */ |
| 54 | 53 | public function values() |
| 55 | 54 | { |
@@ -151,7 +150,6 @@ discard block |
||
| 151 | 150 | } |
| 152 | 151 | |
| 153 | 152 | /** |
| 154 | - * @param int $offset |
|
| 155 | 153 | * @param int $length |
| 156 | 154 | * @param bool $preserveKeys |
| 157 | 155 | * @return static |
@@ -180,7 +178,7 @@ discard block |
||
| 180 | 178 | } |
| 181 | 179 | |
| 182 | 180 | /** |
| 183 | - * @param Collection $collection |
|
| 181 | + * @param Collection $collections |
|
| 184 | 182 | * @return static |
| 185 | 183 | */ |
| 186 | 184 | public function merge(...$collections) |
@@ -279,7 +277,7 @@ discard block |
||
| 279 | 277 | |
| 280 | 278 | /** |
| 281 | 279 | * @param callable $callable |
| 282 | - * @param mixed $initial |
|
| 280 | + * @param Collection $initial |
|
| 283 | 281 | * @return mixed |
| 284 | 282 | */ |
| 285 | 283 | public function reduce(callable $callable, $initial) |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | /** |
| 20 | 20 | * Return reindexed items as array |
| 21 | 21 | * |
| 22 | - * @return array |
|
| 22 | + * @return callable |
|
| 23 | 23 | */ |
| 24 | 24 | public function values(); |
| 25 | 25 | |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | /** |
| 51 | 51 | * Merge one or more collections |
| 52 | 52 | * |
| 53 | - * @param Collection $collection |
|
| 53 | + * @param Collection $collections |
|
| 54 | 54 | * @return self |
| 55 | 55 | */ |
| 56 | 56 | public function merge(...$collections); |