update cs after php-cs-fixer upgrade

This commit is contained in:
2024-09-12 12:02:33 +02:00
parent 5d0b531820
commit f0f651edea
286 changed files with 374 additions and 374 deletions

View File

@@ -27,7 +27,7 @@ class PersonChoiceLoader implements ChoiceLoaderInterface
public function __construct(
protected PersonRepository $personRepository,
?array $centers = null
?array $centers = null,
) {
if (null !== $centers) {
$this->centers = $centers;

View File

@@ -45,7 +45,7 @@ final class CreationPersonType extends AbstractType
public function __construct(
private readonly ConfigPersonAltNamesHelper $configPersonAltNamesHelper,
private readonly EventDispatcherInterface $dispatcher,
ParameterBagInterface $parameterBag
ParameterBagInterface $parameterBag,
) {
$this->askCenters = $parameterBag->get('chill_main')['acl']['form_show_centers'];
}

View File

@@ -47,7 +47,7 @@ class ClosingMotivePickerType extends AbstractType
public function __construct(
TranslatableStringHelper $translatableStringHelper,
ChillEntityRenderExtension $chillEntityRenderExtension,
ClosingMotiveRepository $closingMotiveRepository
ClosingMotiveRepository $closingMotiveRepository,
) {
$this->translatableStringHelper = $translatableStringHelper;
$this->entityRenderExtension = $chillEntityRenderExtension;

View File

@@ -48,7 +48,7 @@ final class PickPersonType extends AbstractType
private readonly TokenStorageInterface $tokenStorage,
private readonly AuthorizationHelper $authorizationHelper,
private readonly UrlGeneratorInterface $urlGenerator,
private readonly TranslatorInterface $translator
private readonly TranslatorInterface $translator,
) {}
public function buildView(\Symfony\Component\Form\FormView $view, \Symfony\Component\Form\FormInterface $form, array $options)