From f1f9f4eff316cefc0c20129a2a164b58ecdcdef8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sat, 2 Nov 2024 04:57:55 +0100 Subject: [PATCH] Add languages extra argument --- Repository/UserRepository.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Repository/UserRepository.php b/Repository/UserRepository.php index b2cfbd6..1082078 100644 --- a/Repository/UserRepository.php +++ b/Repository/UserRepository.php @@ -17,4 +17,12 @@ use Rapsys\UserBundle\Repository\UserRepository as BaseUserRepository; * UserRepository */ class UserRepository extends BaseUserRepository { + /** + * {@inheritdoc} + * @param array $languages The languages list + */ + public function __construct(protected EntityManagerInterface $manager, protected ClassMetadata $class, protected ContainerInterface $container, protected RouterInterface $router, protected SluggerUtil $slugger, protected TranslatorInterface $translator, protected string $locale, protected array $languages) { + //Call parent constructor + parent::__construct($manager, $class, $container, $router, $slugger, $translator, $locale); + } } -- 2.41.1