Skip to content

Commit

Permalink
Change return type of createTarget
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Feb 16, 2024
1 parent bf2545d commit 2d64c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function getTargetId(): ?int
}


public function createTarget(EntityManager $entityManager): Proxy
public function createTarget(EntityManager $entityManager): object
{
return $entityManager->getReference($this->target, $this->targetId);
}
Expand Down

0 comments on commit 2d64c44

Please sign in to comment.