mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Save referenced classlike for cache
This commit is contained in:
parent
1eb11a43b0
commit
21f4a2c7f2
@ -1217,6 +1217,7 @@ class ReflectorVisitor extends PhpParser\NodeVisitorAbstract implements PhpParse
|
||||
);
|
||||
|
||||
$this->codebase->scanner->queueClassLikeForScanning($exception_fqcln, $this->file_path);
|
||||
$this->file_storage->referenced_classlikes[strtolower($exception_fqcln)] = $exception_fqcln;
|
||||
|
||||
$storage->throws[$exception_fqcln] = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user