From 6dbd89320ddb9c807ee7db38616ae0cf325da912 Mon Sep 17 00:00:00 2001 From: Julian PEREZ-RAMIREZ <julian.perez-ramirez@imt-atlantique.net> Date: Wed, 26 Feb 2025 10:31:57 +0100 Subject: [PATCH] addiing WishList records per default --- web_app/src/Entity/WishList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_app/src/Entity/WishList.php b/web_app/src/Entity/WishList.php index f8e4855..b01613c 100644 --- a/web_app/src/Entity/WishList.php +++ b/web_app/src/Entity/WishList.php @@ -18,7 +18,7 @@ class WishList #[ORM\ManyToOne(targetEntity: User::class)] #[ORM\JoinColumn(nullable: false)] - private ?int $user = null; + private ?User $user = null; #[ORM\Column(length: 255)] private ?string $name = null; -- GitLab