From f0f7e3ad8c3624c85181a727816f48f95c9e000e Mon Sep 17 00:00:00 2001 From: palevrault Date: Tue, 12 Dec 2023 15:54:22 +0100 Subject: [PATCH] resol de bug --- Sources/src/app/controller/AuthController.php | 2 +- Sources/src/app/controller/CoachController.php | 2 +- Sources/src/app/controller/HeartRateController.php | 2 +- Sources/src/app/controller/SocialController.php | 2 +- Sources/src/app/controller/UserController.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/src/app/controller/AuthController.php b/Sources/src/app/controller/AuthController.php index 133d9a5d..c99af373 100644 --- a/Sources/src/app/controller/AuthController.php +++ b/Sources/src/app/controller/AuthController.php @@ -13,7 +13,7 @@ use Shared\Log; class AuthController extends BaseController { - private Preferences $preference; + protected Preferences $preference; public function __construct(){ $this->preference = new Preferences(); diff --git a/Sources/src/app/controller/CoachController.php b/Sources/src/app/controller/CoachController.php index 2593f0da..9deb8b3d 100644 --- a/Sources/src/app/controller/CoachController.php +++ b/Sources/src/app/controller/CoachController.php @@ -19,7 +19,7 @@ class CoachController extends BaseController private ICoachManager $coachManager; private $security; private Environment $twig; - private Preferences $preference; + protected Preferences $preference; public function __construct(DataManager $dataManager, Security $security) { diff --git a/Sources/src/app/controller/HeartRateController.php b/Sources/src/app/controller/HeartRateController.php index 0c5163a5..9e7090e9 100644 --- a/Sources/src/app/controller/HeartRateController.php +++ b/Sources/src/app/controller/HeartRateController.php @@ -14,7 +14,7 @@ class HeartRateController extends BaseController { private Environment $twig; - private Preferences $preference; + protected Preferences $preference; public function __construct() { diff --git a/Sources/src/app/controller/SocialController.php b/Sources/src/app/controller/SocialController.php index b04a320c..506eda77 100644 --- a/Sources/src/app/controller/SocialController.php +++ b/Sources/src/app/controller/SocialController.php @@ -14,7 +14,7 @@ class SocialController extends BaseController { private Environment $twig; - private Preferences $preference; + protected Preferences $preference; public function __construct() { diff --git a/Sources/src/app/controller/UserController.php b/Sources/src/app/controller/UserController.php index 1278376a..1ee0adc3 100644 --- a/Sources/src/app/controller/UserController.php +++ b/Sources/src/app/controller/UserController.php @@ -14,7 +14,7 @@ class UserController extends BaseController { private Environment $twig; - private Preferences $preference; + protected Preferences $preference; public function __construct() {