Skip to content

Commit

Permalink
Array key can be only 'int' or 'string'
Browse files Browse the repository at this point in the history
  • Loading branch information
wbars committed Dec 17, 2020
1 parent 09f3324 commit dde65f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standard/standard_9.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function array_pad(array $array, int $length, mixed $value): array
* @param array $array <p>
* An array of key/value pairs to be flipped.
* </p>
* @return array Returns the flipped array.
* @return int[]|string[] Returns the flipped array.
*/
#[Pure]
function array_flip(array $array): array
Expand Down

0 comments on commit dde65f9

Please sign in to comment.