1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 01:09:38 +01:00

interface compat

This commit is contained in:
orklah 2021-09-25 18:09:49 +02:00
parent 7447489133
commit 06da96843a

View File

@ -636,8 +636,10 @@ class ReflectorVisitor extends PhpParser\NodeVisitorAbstract implements FileSour
return $this->aliases;
}
public function afterTraverse(array $nodes): void
public function afterTraverse(array $nodes)
{
$this->file_storage->type_aliases = $this->type_aliases;
return null;
}
}