@@ -50,6 +50,7 @@ |
||
50 | 50 | * Merge current items and items of given collections into a new one. |
51 | 51 | * |
52 | 52 | * @param CollectionInterface ...$collections The collections to merge. |
53 | + * @param CollectionInterface[] $collections |
|
53 | 54 | * |
54 | 55 | * @throws \InvalidArgumentException if any of the given collections are not of the same type |
55 | 56 | * |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | /** |
30 | 30 | * @param array<mixed> $array |
31 | 31 | * |
32 | - * @return int|string|null |
|
32 | + * @return integer|null |
|
33 | 33 | */ |
34 | 34 | function array_key_first(array $array) |
35 | 35 | { |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | /** |
46 | 46 | * @param array<mixed> $array |
47 | 47 | * |
48 | - * @return int|string|null |
|
48 | + * @return null|integer |
|
49 | 49 | */ |
50 | 50 | function array_key_last(array $array) |
51 | 51 | { |
@@ -1932,7 +1932,7 @@ discard block |
||
1932 | 1932 | * |
1933 | 1933 | * @param float|int|string $low <p>First value of the sequence.</p> |
1934 | 1934 | * @param float|int|string $high <p>The sequence is ended upon reaching the end value.</p> |
1935 | - * @param float|int $step <p>Used as the increment between elements in the sequence.</p> |
|
1935 | + * @param integer $step <p>Used as the increment between elements in the sequence.</p> |
|
1936 | 1936 | * |
1937 | 1937 | * @return static |
1938 | 1938 | * <p>(Immutable) Returns an new instance of the Arrayy object.</p> |
@@ -2733,7 +2733,7 @@ discard block |
||
2733 | 2733 | /** |
2734 | 2734 | * Get the first key from the current array. |
2735 | 2735 | * |
2736 | - * @return mixed|null |
|
2736 | + * @return integer|null |
|
2737 | 2737 | * <p>Return null if there wasn't a element.</p> |
2738 | 2738 | * |
2739 | 2739 | * @phpstan-return TKey|null |
@@ -4145,7 +4145,7 @@ discard block |
||
4145 | 4145 | /** |
4146 | 4146 | * Get the last key from the current array. |
4147 | 4147 | * |
4148 | - * @return mixed|null |
|
4148 | + * @return null|integer |
|
4149 | 4149 | * <p>Return null if there wasn't a element.</p> |
4150 | 4150 | * @psalm-mutation-free |
4151 | 4151 | */ |
@@ -4605,7 +4605,7 @@ discard block |
||
4605 | 4605 | /** |
4606 | 4606 | * Get the most used value from the array. |
4607 | 4607 | * |
4608 | - * @return mixed|null |
|
4608 | + * @return integer|null |
|
4609 | 4609 | * <p>(Immutable) Return null if there wasn't an element.</p> |
4610 | 4610 | * |
4611 | 4611 | * @phpstan-return T|null |