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 49a6bef commit a56ac23Copy full SHA for a56ac23
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