From 04bece42320cbc18c9476ceb2bc51dff7be7a0fd Mon Sep 17 00:00:00 2001 From: Chetan Thapliyal Date: Wed, 11 Sep 2024 17:15:48 +0200 Subject: [PATCH] Reorder arguments to oauth authenticator --- src/Mealz/UserBundle/Provider/OAuthUserProvider.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mealz/UserBundle/Provider/OAuthUserProvider.php b/src/Mealz/UserBundle/Provider/OAuthUserProvider.php index ea6bd8034..4c40662fc 100644 --- a/src/Mealz/UserBundle/Provider/OAuthUserProvider.php +++ b/src/Mealz/UserBundle/Provider/OAuthUserProvider.php @@ -39,9 +39,9 @@ class OAuthUserProvider implements UserProviderInterface, OAuthAwareUserProvider ]; public function __construct( - private string $authClientID, - private EntityManagerInterface $entityManager, - private RoleRepositoryInterface $roleRepo + private readonly EntityManagerInterface $entityManager, + private readonly RoleRepositoryInterface $roleRepo, + private readonly string $authClientID ) { }