mirror of
https://github.com/danog/Valinor.git
synced 2024-11-26 12:14:40 +01:00
qa: switch Psalm method from getChildNodes
to getAtomicTypes
See vimeo/psalm#8525
This commit is contained in:
parent
2b9d81cc45
commit
d7dda9d261
@ -35,7 +35,7 @@ final class TreeMapperPsalmPlugin implements MethodReturnTypeProviderInterface
|
||||
|
||||
$types = [];
|
||||
|
||||
foreach ($type->getChildNodes() as $node) {
|
||||
foreach ($type->getAtomicTypes() as $node) {
|
||||
$inferred = self::type($node);
|
||||
|
||||
if ($inferred === null) {
|
||||
|
Loading…
Reference in New Issue
Block a user