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 0ff7e44 commit 57ed25eCopy full SHA for 57ed25e
src/Rules/Comparison/ImpossibleCheckTypeHelper.php
@@ -163,7 +163,7 @@ public function findSpecifiedType(
163
continue;
164
}
165
166
- foreach ($haystackArrayValueType->getConstantScalarTypes() as $constantScalarType) {
+ foreach ($haystackArrayValueConstantScalarTypes as $constantScalarType) {
167
if ($constantScalarType->isSuperTypeOf($needleType)->yes()) {
168
continue 3;
169
0 commit comments