mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Add reference to ensure proper hydration
This commit is contained in:
parent
0086eb25a2
commit
013467dc0e
@ -1288,6 +1288,10 @@ class ReflectorVisitor extends PhpParser\NodeVisitorAbstract implements PhpParse
|
||||
$this->aliases
|
||||
);
|
||||
|
||||
$this->codebase->scanner->queueClassLikeForScanning($declaring_fq_classlike_name);
|
||||
$this->file_storage->referenced_classlikes[strtolower($declaring_fq_classlike_name)]
|
||||
= $declaring_fq_classlike_name;
|
||||
|
||||
$this->type_aliases[$as_alias_name] = new TypeAlias\LinkableTypeAlias(
|
||||
$declaring_fq_classlike_name,
|
||||
$type_alias_name
|
||||
|
Loading…
Reference in New Issue
Block a user