@@ -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 | { |
@@ -1906,7 +1906,7 @@ discard block |
||
1906 | 1906 | * |
1907 | 1907 | * @param float|int|string $low <p>First value of the sequence.</p> |
1908 | 1908 | * @param float|int|string $high <p>The sequence is ended upon reaching the end value.</p> |
1909 | - * @param float|int $step <p>Used as the increment between elements in the sequence.</p> |
|
1909 | + * @param integer $step <p>Used as the increment between elements in the sequence.</p> |
|
1910 | 1910 | * |
1911 | 1911 | * @return static |
1912 | 1912 | * <p>(Immutable) Returns an new instance of the Arrayy object.</p> |
@@ -2705,7 +2705,7 @@ discard block |
||
2705 | 2705 | /** |
2706 | 2706 | * Get the first key from the current array. |
2707 | 2707 | * |
2708 | - * @return mixed|null |
|
2708 | + * @return integer|null |
|
2709 | 2709 | * <p>Return null if there wasn't a element.</p> |
2710 | 2710 | * |
2711 | 2711 | * @psalm-mutation-free |
@@ -4096,7 +4096,7 @@ discard block |
||
4096 | 4096 | /** |
4097 | 4097 | * Get the last key from the current array. |
4098 | 4098 | * |
4099 | - * @return mixed|null |
|
4099 | + * @return null|integer |
|
4100 | 4100 | * <p>Return null if there wasn't a element.</p> |
4101 | 4101 | * @psalm-mutation-free |
4102 | 4102 | */ |
@@ -4553,7 +4553,7 @@ discard block |
||
4553 | 4553 | /** |
4554 | 4554 | * Get the most used value from the array. |
4555 | 4555 | * |
4556 | - * @return mixed|null |
|
4556 | + * @return integer|null |
|
4557 | 4557 | * <p>(Immutable) Return null if there wasn't a element.</p> |
4558 | 4558 | * |
4559 | 4559 | * @phpstan-return T|null |
@@ -7159,7 +7159,7 @@ discard block |
||
7159 | 7159 | } |
7160 | 7160 | |
7161 | 7161 | /** |
7162 | - * @param mixed $path |
|
7162 | + * @param string $path |
|
7163 | 7163 | * @param callable $callable |
7164 | 7164 | * @param array|null $currentOffset |
7165 | 7165 | * |
@@ -7381,7 +7381,7 @@ discard block |
||
7381 | 7381 | } |
7382 | 7382 | |
7383 | 7383 | /** |
7384 | - * @param mixed $glue |
|
7384 | + * @param string $glue |
|
7385 | 7385 | * @param mixed $pieces |
7386 | 7386 | * @param bool $useKeys |
7387 | 7387 | * |