@@ -149,7 +149,7 @@ |
||
149 | 149 | ->add('theme', ChoiceType::class, [ |
150 | 150 | 'required' => false, |
151 | 151 | 'choices' => User::AVAILABLE_THEMES, |
152 | - 'choice_label' => function ($entity, $key, $value) { |
|
152 | + 'choice_label' => function($entity, $key, $value) { |
|
153 | 153 | return $value; |
154 | 154 | }, |
155 | 155 | 'placeholder' => $this->trans->trans('user_settings.theme.placeholder'), |
@@ -76,7 +76,7 @@ |
||
76 | 76 | ->add('theme', ChoiceType::class, [ |
77 | 77 | 'required' => false, |
78 | 78 | 'choices' => User::AVAILABLE_THEMES, |
79 | - 'choice_label' => function ($entity, $key, $value) { |
|
79 | + 'choice_label' => function($entity, $key, $value) { |
|
80 | 80 | return $value; |
81 | 81 | }, |
82 | 82 | 'placeholder' => $this->trans->trans('user_settings.theme.placeholder'), |