From 47b98f38427b89e15d775b0efd5a555f373937d0 Mon Sep 17 00:00:00 2001 From: YvanSv <yvan.savergne@gmail.com> Date: Tue, 2 Apr 2024 16:33:52 +0200 Subject: [PATCH] correction bug creation annonces --- src/Entity/Prestations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Prestations.php b/src/Entity/Prestations.php index 5fa55c5d..318721c7 100644 --- a/src/Entity/Prestations.php +++ b/src/Entity/Prestations.php @@ -51,7 +51,7 @@ class Prestations private Collection $litiges; #[ORM\Column] - private ?int $nbVues = null; + private int $nbVues = 0; #[ORM\ManyToMany(targetEntity: Utilisateur::class, mappedBy: 'prestations_aimees')] private Collection $utilisateurs_aimant; -- GitLab