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.
2 parents 4efa22b + a5e4bfa commit 3d0a658Copy full SHA for 3d0a658
src/Rules/MissingTypehintCheck.php
@@ -82,7 +82,7 @@ public function getIterableTypesWithMissingValueTypehint(Type $type): array
82
}
83
if ($type instanceof IntersectionType) {
84
if ($type->isList()->yes()) {
85
- return $traverse($type->getIterableValueType());
+ return $traverse($iterableValue);
86
87
88
return $type;
0 commit comments