X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FEntity%2FPerson.php;h=62cb46b3a446ccb2cf0648191b7107faeada4fa7;hb=3d47ccc80097bec1a6890e103357d7c7cf0cff87;hp=d06f5756f9ce2a8ce1b2e981ae1b01e0e92d397c;hpb=f0640a5242b2a959068696eed3d41c37d07633a7;p=Project_proches_de_moi-server.git diff --git a/src/Entity/Person.php b/src/Entity/Person.php index d06f575..62cb46b 100644 --- a/src/Entity/Person.php +++ b/src/Entity/Person.php @@ -52,13 +52,13 @@ class Person /** * One person have many friends - * @ORM\OneToMany(targetEntity="App\Entity\Friendship", mappedBy="person", cascade={"all"}) + * @ORM\OneToMany(targetEntity="App\Entity\Friendship", mappedBy="person") */ protected $friends; /** * One person have many friends - * @ORM\OneToMany(targetEntity="App\Entity\Friendship", mappedBy="friend", cascade={"all"}) + * @ORM\OneToMany(targetEntity="App\Entity\Friendship", mappedBy="friend") */ protected $friends_with_me;