mirror of
https://github.com/danog/Valinor.git
synced 2024-11-30 04:39:05 +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 = [];
|
$types = [];
|
||||||
|
|
||||||
foreach ($type->getChildNodes() as $node) {
|
foreach ($type->getAtomicTypes() as $node) {
|
||||||
$inferred = self::type($node);
|
$inferred = self::type($node);
|
||||||
|
|
||||||
if ($inferred === null) {
|
if ($inferred === null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user