From f2f5560339203baad7951006c5a63d10f237ee6a Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 9 Oct 2026 16:12:46 +0200 Subject: =?UTF-8?q?cr=C3=A9er=20un=20devis=20ne=20fait=20plus=20d'un=20pro?= =?UTF-8?q?spect=20un=20client,=20typage=20dans=20Client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/entities/Prestation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/model/entities/Prestation.php') diff --git a/src/model/entities/Prestation.php b/src/model/entities/Prestation.php index ce98911..ee9b3c0 100644 --- a/src/model/entities/Prestation.php +++ b/src/model/entities/Prestation.php @@ -40,7 +40,7 @@ class Prestation public static EntityManager $entityManager; - public function __construct(Client $client = null) + public function __construct(?Client $client = null) { if($client != null) { -- cgit v1.2.3