From b85b57cf3ff1ddcc72e3f744be1dd2435d68a827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Tue, 10 Jan 2023 17:22:32 +0100 Subject: [PATCH] test --- WEB/Model/UserModel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/WEB/Model/UserModel.php b/WEB/Model/UserModel.php index f345eab4..f13d3f76 100644 --- a/WEB/Model/UserModel.php +++ b/WEB/Model/UserModel.php @@ -45,6 +45,7 @@ class UserModel public function calculTpsMaXPartie( int $idPartie) : int { $lesIdEnigmes = $this->partie_gateway->findAllEnigmeIdInPartie($idPartie); + var_dump($lesIdEnigmes); foreach ($lesIdEnigmes as $idEnigme){ $enigme = $this->enigme_gateway->findById($idEnigme)[0]; $tpsMaxPartie += $enigme->getTempsDeResolution();