mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Don’t throw exception if classloader hasn’t been set
This commit is contained in:
parent
4248cacbaf
commit
d185253396
@ -952,7 +952,7 @@ class Config
|
||||
public function getComposerFilePathForClassLike($fq_classlike_name)
|
||||
{
|
||||
if (!$this->composer_class_loader) {
|
||||
throw new \LogicException('Composer class loader should exist here');
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->composer_class_loader->findFile($fq_classlike_name);
|
||||
|
Loading…
Reference in New Issue
Block a user