mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
update cs after php-cs-fixer upgrade
This commit is contained in:
@@ -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;
|
||||
|
@@ -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'];
|
||||
}
|
||||
|
@@ -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;
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user