Skip to content
Permalink
Browse files

Prevent crash when a class definition cannot be located

  • Loading branch information...
muglug committed May 15, 2019
1 parent 1c10ae1 commit a34692fca0ce54be05a5d7ffbff8ee8bfd4867dd
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Psalm/Codebase.php
@@ -993,6 +993,8 @@ public function getSymbolLocation(string $file_path, string $symbol)
} catch (\UnexpectedValueException $e) {
error_log($e->getMessage());
return null;
} catch (\InvalidArgumentException $e) {
return null;
}
}

0 comments on commit a34692f

Please sign in to comment.
You can’t perform that action at this time.