From a2453b810737a440398c003ca03d3cd72396766f Mon Sep 17 00:00:00 2001
From: Bertrand GAUTHIER <bertrand.gauthier@unicaen.fr>
Date: Thu, 6 Jul 2023 09:14:13 +0200
Subject: [PATCH] =?UTF-8?q?Correction=20ordre=20d'injection=20de=20d=C3=A9?=
 =?UTF-8?q?pendances?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../Controller/Factory/Rapport/RapportCsiControllerFactory.php  | 2 +-
 .../Factory/Rapport/RapportMiparcoursControllerFactory.php      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/Application/src/Application/Controller/Factory/Rapport/RapportCsiControllerFactory.php b/module/Application/src/Application/Controller/Factory/Rapport/RapportCsiControllerFactory.php
index 3f36cdea8..6909e0227 100644
--- a/module/Application/src/Application/Controller/Factory/Rapport/RapportCsiControllerFactory.php
+++ b/module/Application/src/Application/Controller/Factory/Rapport/RapportCsiControllerFactory.php
@@ -60,11 +60,11 @@ class RapportCsiControllerFactory
         $controller->setIndividuService($individuService);
         $controller->setForm($rapportForm);
         $controller->setValidationService($validationService);
+        $controller->setAnneeUnivService($anneeUnivService);
         $controller->setAnneesUnivs($theseAnneeUnivService);
         $controller->setTypeRapport($typeRapport);
         $controller->setTypeValidation($typeValidation);
         $controller->setMembreService($membreService);
-        $controller->setAnneeUnivService($anneeUnivService);
 
 //        $theseService->attach($controller->getEventManager());
 
diff --git a/module/Application/src/Application/Controller/Factory/Rapport/RapportMiparcoursControllerFactory.php b/module/Application/src/Application/Controller/Factory/Rapport/RapportMiparcoursControllerFactory.php
index 5d231ba4e..924e3170a 100644
--- a/module/Application/src/Application/Controller/Factory/Rapport/RapportMiparcoursControllerFactory.php
+++ b/module/Application/src/Application/Controller/Factory/Rapport/RapportMiparcoursControllerFactory.php
@@ -57,10 +57,10 @@ class RapportMiparcoursControllerFactory
         $controller->setIndividuService($individuService);
         $controller->setForm($rapportForm);
         $controller->setValidationService($validationService);
+        $controller->setAnneeUnivService($anneeUnivService);
         $controller->setAnneesUnivs($theseAnneeUnivService);
         $controller->setTypeRapport($typeRapport);
         $controller->setTypeValidation($typeValidation);
-        $controller->setAnneeUnivService($anneeUnivService);
 
 //        $theseService->attach($controller->getEventManager());
 
-- 
GitLab