mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Catch InvalidArgumentException (#5061)
This commit is contained in:
parent
d296c4bb9a
commit
c912b6c2b9
@ -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