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 6bf918a commit 57af64dCopy full SHA for 57af64d
src/Rules/MissingTypehintCheck.php
@@ -91,7 +91,7 @@ public function getIterableTypesWithMissingValueTypehint(Type $type): array
91
}
92
if ($type instanceof IntersectionType) {
93
if ($type->isList()->yes()) {
94
- return $traverse($type->getIterableValueType());
+ return $traverse($iterableValue);
95
96
97
return $type;
0 commit comments