@@ -43,7 +43,7 @@ |
||
43 | 43 | { |
44 | 44 | $resolver->setDefaults([ |
45 | 45 | 'choices' => $this->available_themes, |
46 | - 'choice_label' => static function ($entity, $key, $value) { |
|
46 | + 'choice_label' => static function($entity, $key, $value) { |
|
47 | 47 | return $value; |
48 | 48 | }, |
49 | 49 | 'attr' => [ |
@@ -131,7 +131,7 @@ |
||
131 | 131 | ->add('reset', ResetType::class, ['label' => 'reset']); |
132 | 132 | |
133 | 133 | //Add the remove_avatar button if the user has an avatar (we have to add this dynamically) |
134 | - $builder->addEventListener(FormEvents::PRE_SET_DATA, function (PreSetDataEvent $event) { |
|
134 | + $builder->addEventListener(FormEvents::PRE_SET_DATA, function(PreSetDataEvent $event) { |
|
135 | 135 | $data = $event->getData(); |
136 | 136 | if (!$data instanceof User) { |
137 | 137 | return; |