X-Git-Url: https://git.piment-noir.org/?p=Project_proches_de_moi-server.git;a=blobdiff_plain;f=src%2FEntity%2FFriendship.php;fp=src%2FEntity%2FFriendship.php;h=5065733cea9c2022538038e30675d36d6dd822c5;hp=444523f5b3d50513c2faad00aecf1453f51787d4;hb=3d47ccc80097bec1a6890e103357d7c7cf0cff87;hpb=f0640a5242b2a959068696eed3d41c37d07633a7 diff --git a/src/Entity/Friendship.php b/src/Entity/Friendship.php index 444523f..5065733 100644 --- a/src/Entity/Friendship.php +++ b/src/Entity/Friendship.php @@ -13,13 +13,13 @@ class Friendship { /** * @ORM\Id - * @ORM\ManyToOne(targetEntity="Person", inversedBy="friends", cascade={"all"}) + * @ORM\ManyToOne(targetEntity="Person", inversedBy="friends") */ protected $person; /** * @ORM\Id - * @ORM\ManyToOne(targetEntity="Person", inversedBy="friends_with_me", cascade={"all"}) + * @ORM\ManyToOne(targetEntity="Person", inversedBy="friends_with_me") * @Serializer\Expose */ protected $friend;