Skip to content

Commit

Permalink
fixup! remove getDoctrine*() methods from PhpDocInfo, use getByType()…
Browse files Browse the repository at this point in the history
… instead
  • Loading branch information
TomasVotruba committed Aug 31, 2019
1 parent 6bace1a commit cb7bd9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/BetterPhpDocParser/src/PhpDocInfo/PhpDocInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public function getReturnTypes(): array

public function getDoctrineRelationTagValueNode(): ?DoctrineRelationTagValueNodeInterface
{
return $this->getByType(DoctrineRelationTagValueNodeInterface::class) ?? null;
return $this->getByType(DoctrineRelationTagValueNodeInterface::class);
}

public function removeTagValueNodeFromNode(PhpDocTagValueNode $phpDocTagValueNode): void
Expand Down

0 comments on commit cb7bd9f

Please sign in to comment.