@@ -1932,7 +1932,7 @@ discard block |
||
1932 | 1932 | /** |
1933 | 1933 | * Get the first key from the current array. |
1934 | 1934 | * |
1935 | - * @return mixed |
|
1935 | + * @return integer|null |
|
1936 | 1936 | * <p>Return null if there wasn't a element.</p> |
1937 | 1937 | */ |
1938 | 1938 | public function firstKey() |
@@ -2946,7 +2946,7 @@ discard block |
||
2946 | 2946 | /** |
2947 | 2947 | * Get the last key from the current array. |
2948 | 2948 | * |
2949 | - * @return mixed |
|
2949 | + * @return null|integer |
|
2950 | 2950 | * <p>Return null if there wasn't a element.</p> |
2951 | 2951 | */ |
2952 | 2952 | public function lastKey() |
@@ -3329,7 +3329,7 @@ discard block |
||
3329 | 3329 | /** |
3330 | 3330 | * Get the most used value from the array. |
3331 | 3331 | * |
3332 | - * @return mixed |
|
3332 | + * @return integer|null |
|
3333 | 3333 | * <p>Return null if there wasn't a element.</p> |
3334 | 3334 | */ |
3335 | 3335 | public function mostUsedValue() |
@@ -5426,7 +5426,7 @@ discard block |
||
5426 | 5426 | } |
5427 | 5427 | |
5428 | 5428 | /** |
5429 | - * @param mixed $path |
|
5429 | + * @param string $path |
|
5430 | 5430 | * @param callable $callable |
5431 | 5431 | * @param array|null $currentOffset |
5432 | 5432 | * |
@@ -5610,7 +5610,7 @@ discard block |
||
5610 | 5610 | } |
5611 | 5611 | |
5612 | 5612 | /** |
5613 | - * @param mixed $glue |
|
5613 | + * @param string $glue |
|
5614 | 5614 | * @param mixed $pieces |
5615 | 5615 | * @param bool $useKeys |
5616 | 5616 | * |
@@ -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 | { |