From 53f61a96a048ba1408c3a94f5815521a20bcb85c Mon Sep 17 00:00:00 2001
From: Camille Simiand <camille.simiand@tetras-libre.fr>
Date: Tue, 1 Feb 2022 15:09:53 +0100
Subject: [PATCH] Fix Doctrine errors

---
 src/Entity/Capsule.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Entity/Capsule.php b/src/Entity/Capsule.php
index 51374da..4e5249f 100644
--- a/src/Entity/Capsule.php
+++ b/src/Entity/Capsule.php
@@ -32,7 +32,7 @@ class Capsule
 
     /**
      *
-     * @ORM\ManyToOne(targetEntity="App\Entity\User", inversedBy="capsulesCreated")
+     * @ORM\ManyToOne(targetEntity="App\Entity\User")
      * @ORM\JoinColumn(name="aut_crea", referencedColumnName="id", nullable=false)
      *
      */
@@ -46,7 +46,7 @@ class Capsule
 
     /**
      *
-     * @ORM\ManyToOne(targetEntity="App\Entity\User", inversedBy="capsulesEdited")
+     * @ORM\ManyToOne(targetEntity="App\Entity\User")
      * @ORM\JoinColumn(name="aut_maj", referencedColumnName="id")
      *
      */
-- 
GitLab