Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/DefinitionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private function getDocBlock(Node $node)
// create() throws when it thinks the doc comment has invalid fields.
// For example, a @see tag that is followed by something that doesn't look like a valid fqsen will throw.
return $this->docBlockFactory->create($docCommentText, $context);
} catch (\InvalidArgumentException $e) {
} catch (\RuntimeException | \InvalidArgumentException $e) {
return null;
}
}
Expand Down