diff --git a/web_app/src/Entity/WishList.php b/web_app/src/Entity/WishList.php index f8e48555a81853e9805a843738dd2e581bb6b4ff..b01613c8625fc8bce3247ec9b8c6f088d569d9f7 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;