1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Fix #1077 - queue property types

This commit is contained in:
Brown 2018-11-12 13:01:16 -05:00
parent dc834fdb01
commit d0c245eff3

View File

@ -689,6 +689,7 @@ class DependencyFinderVisitor extends PhpParser\NodeVisitorAbstract implements P
try {
$pseudo_property_type = Type::parseTokens($pseudo_property_type_tokens);
$pseudo_property_type->setFromDocblock();
$pseudo_property_type->queueClassLikesForScanning($this->codebase, $this->file_storage);
if ($property['tag'] !== 'property-read') {
$storage->pseudo_property_set_types[$property['name']] = $pseudo_property_type;