We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25003b7 commit 5aeddaaCopy full SHA for 5aeddaa
src/Rules/Arrays/AllowedArrayKeysTypes.php
@@ -29,7 +29,7 @@ public static function getType(?PhpVersion $phpVersion = null, bool $allowFloatB
29
new StringType(),
30
];
31
32
- if (!$allowFloatBoolNull) {
+ if ($allowFloatBoolNull) {
33
$types[] = new BooleanType();
34
35
if ($phpVersion === null || !$phpVersion->deprecatesImplicitlyFloatConversionToInt()) {
0 commit comments