Passed
Push — master ( 5c3032...f1c3a5 )
by Jan
08:21
created
src/Form/Type/ThemeChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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' => [
Please login to merge, or discard this patch.
src/Form/UserSettingsType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.