Skip to content

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)