mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 12:24:49 +01:00
Catch InvalidArgumentException (#5061)
This commit is contained in:
parent
394f7347de
commit
df5b3418b0
@ -118,7 +118,11 @@ class Populator
|
||||
}
|
||||
|
||||
foreach ($class_storage->dependent_classlikes as $dependent_classlike_lc => $_) {
|
||||
$dependee_storage = $this->classlike_storage_provider->get($dependent_classlike_lc);
|
||||
try {
|
||||
$dependee_storage = $this->classlike_storage_provider->get($dependent_classlike_lc);
|
||||
} catch (\InvalidArgumentException $exception) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$class_storage->dependent_classlikes += $dependee_storage->dependent_classlikes;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user