From 769a6bc6c58aa1001b6329a6981b7d075fdaaaf8 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Thu, 28 Jun 2018 22:22:19 +0300 Subject: [PATCH] Invite mapping fixed. --- src/Entity/Invite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Invite.php b/src/Entity/Invite.php index 14f6870..00f3838 100644 --- a/src/Entity/Invite.php +++ b/src/Entity/Invite.php @@ -22,7 +22,7 @@ class Invite /** * @var User * - * @ORM\ManyToOne(targetEntity="App\Entity\User") + * @ORM\ManyToOne(targetEntity="App\Entity\User", inversedBy="invites") * @ORM\JoinColumn(name="user_id", nullable=false) */ private $user;