We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dc1656 commit 207d567Copy full SHA for 207d567
src/DefinitionResolver.php
@@ -164,7 +164,7 @@ private function getDocBlock(Node $node)
164
// create() throws when it thinks the doc comment has invalid fields.
165
// For example, a @see tag that is followed by something that doesn't look like a valid fqsen will throw.
166
return $this->docBlockFactory->create($docCommentText, $context);
167
- } catch (\InvalidArgumentException $e) {
+ } catch (\RuntimeException | \InvalidArgumentException $e) {
168
return null;
169
}
170
0 commit comments