mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +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…
x
Reference in New Issue
Block a user