mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-03 03:49:44 +00:00
DX: fix cs
This commit is contained in:
@@ -46,7 +46,7 @@ class GoalType extends AbstractType
|
||||
'class' => Result::class,
|
||||
'required' => false,
|
||||
'multiple' => true,
|
||||
'choice_label' => fn(Result $r) => $this->translatableStringHelper->localize($r->getTitle()),
|
||||
'choice_label' => fn (Result $r) => $this->translatableStringHelper->localize($r->getTitle()),
|
||||
'attr' => ['class' => 'select2 '],
|
||||
])
|
||||
->add('desactivationDate', ChillDateType::class, [
|
||||
|
@@ -50,12 +50,12 @@ class SocialActionType extends AbstractType
|
||||
->add('issue', EntityType::class, [
|
||||
'class' => SocialIssue::class,
|
||||
'label' => 'socialAction.socialIssue',
|
||||
'choice_label' => fn(SocialIssue $issue) => $this->translatableStringHelper->localize($issue->getTitle()),
|
||||
'choice_label' => fn (SocialIssue $issue) => $this->translatableStringHelper->localize($issue->getTitle()),
|
||||
])
|
||||
->add('parent', EntityType::class, [
|
||||
'class' => SocialAction::class,
|
||||
'required' => false,
|
||||
'choice_label' => fn(SocialAction $issue) => $this->translatableStringHelper->localize($issue->getTitle()),
|
||||
'choice_label' => fn (SocialAction $issue) => $this->translatableStringHelper->localize($issue->getTitle()),
|
||||
])
|
||||
->add('ordering', NumberType::class, [
|
||||
'required' => true,
|
||||
@@ -66,7 +66,7 @@ class SocialActionType extends AbstractType
|
||||
'required' => false,
|
||||
'multiple' => true,
|
||||
'attr' => ['class' => 'select2'],
|
||||
'choice_label' => fn(Result $r) => $this->translatableStringHelper->localize($r->getTitle()),
|
||||
'choice_label' => fn (Result $r) => $this->translatableStringHelper->localize($r->getTitle()),
|
||||
])
|
||||
|
||||
->add('goals', EntityType::class, [
|
||||
@@ -74,7 +74,7 @@ class SocialActionType extends AbstractType
|
||||
'required' => false,
|
||||
'multiple' => true,
|
||||
'attr' => ['class' => 'select2'],
|
||||
'choice_label' => fn(Goal $g) => $this->translatableStringHelper->localize($g->getTitle()),
|
||||
'choice_label' => fn (Goal $g) => $this->translatableStringHelper->localize($g->getTitle()),
|
||||
])
|
||||
|
||||
->add('evaluations', EntityType::class, [
|
||||
@@ -82,7 +82,7 @@ class SocialActionType extends AbstractType
|
||||
'required' => false,
|
||||
'multiple' => true,
|
||||
'attr' => ['class' => 'select2'],
|
||||
'choice_label' => fn(Evaluation $e) => $this->translatableStringHelper->localize($e->getTitle()),
|
||||
'choice_label' => fn (Evaluation $e) => $this->translatableStringHelper->localize($e->getTitle()),
|
||||
])
|
||||
|
||||
->add('defaultNotificationDelay', DateIntervalType::class, [
|
||||
|
Reference in New Issue
Block a user