From 18899d665df529cd8ef88e2ac6e6cf0aba4b1c51 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Tue, 8 Oct 2024 16:57:39 +0200 Subject: [PATCH] rector fixes --- .../Export/Filter/PersonFilters/GenderFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Export/Filter/PersonFilters/GenderFilter.php b/src/Bundle/ChillPersonBundle/Export/Filter/PersonFilters/GenderFilter.php index f5a216619..9db093885 100644 --- a/src/Bundle/ChillPersonBundle/Export/Filter/PersonFilters/GenderFilter.php +++ b/src/Bundle/ChillPersonBundle/Export/Filter/PersonFilters/GenderFilter.php @@ -27,7 +27,7 @@ class GenderFilter implements ExportElementValidatedInterface, FilterInterface { - public function __construct(private TranslatorInterface $translator, private TranslatableStringHelperInterface $translatableStringHelper) {} + public function __construct(private readonly TranslatorInterface $translator, private readonly TranslatableStringHelperInterface $translatableStringHelper) {} public function addRole(): ?string {