1
0
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:
Matthew Brown 2018-11-29 01:46:12 -05:00
parent 1eb11a43b0
commit 21f4a2c7f2

View File

@ -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;
}