mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Prevent crash when a class definition cannot be located
This commit is contained in:
parent
1c10ae11bf
commit
a34692fca0
@ -993,6 +993,8 @@ class Codebase
|
||||
} catch (\UnexpectedValueException $e) {
|
||||
error_log($e->getMessage());
|
||||
return null;
|
||||
} catch (\InvalidArgumentException $e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user