1
0
Fork 0
pull/756/merge
Jari Pennanen 2019-09-23 11:26:30 +00:00 committed by GitHub
commit 0a52c68f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class DefinitionResolver
// 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;
}
}