From 51888911082d6f31d994b81e1af10847ba4d4801 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 26 Oct 2023 15:21:20 +0200 Subject: [PATCH] php style fixer --- .../Controller/CustomFieldController.php | 2 +- .../ChillPersonBundle/Controller/PersonAddressController.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldController.php b/src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldController.php index ff3d75080..f96c25909 100644 --- a/src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldController.php +++ b/src/Bundle/ChillCustomFieldsBundle/Controller/CustomFieldController.php @@ -25,7 +25,7 @@ use Symfony\Contracts\Translation\TranslatorInterface; */ class CustomFieldController extends AbstractController { - public function __construct(private readonly TranslatorInterface $translator){} + public function __construct(private readonly TranslatorInterface $translator) {} /** * Creates a new CustomField entity. diff --git a/src/Bundle/ChillPersonBundle/Controller/PersonAddressController.php b/src/Bundle/ChillPersonBundle/Controller/PersonAddressController.php index 8b0dcb51e..193aad950 100644 --- a/src/Bundle/ChillPersonBundle/Controller/PersonAddressController.php +++ b/src/Bundle/ChillPersonBundle/Controller/PersonAddressController.php @@ -29,9 +29,7 @@ class PersonAddressController extends AbstractController /** * PersonAddressController constructor. */ - public function __construct(private readonly ValidatorInterface $validator, private readonly TranslatorInterface $translator) - { - } + public function __construct(private readonly ValidatorInterface $validator, private readonly TranslatorInterface $translator) {} /** * @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/person/{person_id}/address/create", name="chill_person_address_create", methods={"POST"})