1
0
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:
Matthew Brown 2019-05-14 23:49:15 -04:00
parent 1c10ae11bf
commit a34692fca0

View File

@ -993,6 +993,8 @@ class Codebase
} catch (\UnexpectedValueException $e) {
error_log($e->getMessage());
return null;
} catch (\InvalidArgumentException $e) {
return null;
}
}