mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 20:43:49 +00:00
DX: fix cs
This commit is contained in:
@@ -105,8 +105,8 @@ class AccompanyingPeriodRegulationListController
|
||||
$builder
|
||||
->add('services', EntityType::class, [
|
||||
'class' => Scope::class,
|
||||
'query_builder' => static fn(EntityRepository $er) => $er->createQueryBuilder('s'),
|
||||
'choice_label' => fn(Scope $s) => $this->translatableStringHelper->localize($s->getName()),
|
||||
'query_builder' => static fn (EntityRepository $er) => $er->createQueryBuilder('s'),
|
||||
'choice_label' => fn (Scope $s) => $this->translatableStringHelper->localize($s->getName()),
|
||||
'multiple' => true,
|
||||
'label' => 'Service',
|
||||
'required' => false,
|
||||
@@ -119,7 +119,7 @@ class AccompanyingPeriodRegulationListController
|
||||
|
||||
return $qb;
|
||||
},
|
||||
'choice_label' => fn(UserJob $j) => $this->translatableStringHelper->localize($j->getLabel()),
|
||||
'choice_label' => fn (UserJob $j) => $this->translatableStringHelper->localize($j->getLabel()),
|
||||
'multiple' => true,
|
||||
'label' => 'Métier',
|
||||
'required' => false,
|
||||
@@ -141,7 +141,7 @@ class AccompanyingPeriodRegulationListController
|
||||
|
||||
return $qb;
|
||||
},
|
||||
'choice_label' => static fn(Location $l) => $l->getName(),
|
||||
'choice_label' => static fn (Location $l) => $l->getName(),
|
||||
'multiple' => true,
|
||||
'group_by' => function (Location $l) {
|
||||
if (null === $type = $l->getLocationType()) {
|
||||
|
Reference in New Issue
Block a user