Skip to content

Commit 3d0a658

Browse files
authored
Merge branch refs/heads/1.12.x into 2.1.x
2 parents 4efa22b + a5e4bfa commit 3d0a658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Rules/MissingTypehintCheck.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function getIterableTypesWithMissingValueTypehint(Type $type): array
8282
}
8383
if ($type instanceof IntersectionType) {
8484
if ($type->isList()->yes()) {
85-
return $traverse($type->getIterableValueType());
85+
return $traverse($iterableValue);
8686
}
8787

8888
return $type;

0 commit comments

Comments
 (0)