Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a56ac23

Browse files
Fix
1 parent 49a6bef commit a56ac23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Rules/Arrays/AllowedArrayKeysTypes.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function getType(?PhpVersion $phpVersion = null, bool $allowFloatB
2929
new StringType(),
3030
];
3131

32-
if (!$allowFloatBoolNull) {
32+
if ($allowFloatBoolNull) {
3333
$types[] = new BooleanType();
3434

3535
if ($phpVersion === null || !$phpVersion->deprecatesImplicitlyFloatConversionToInt()) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /