Passed
Push — master ( a7dfcf...7de249 )
by Jan
04:46
created
src/Form/AttachmentFormType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
             ],
170 170
         ]);
171 171
 
172
-        $builder->addEventListener(FormEvents::POST_SUBMIT, function (FormEvent $event): void {
172
+        $builder->addEventListener(FormEvents::POST_SUBMIT, function(FormEvent $event): void {
173 173
             $form = $event->getForm();
174 174
             $attachment = $form->getData();
175 175
 
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
         //Check the secure file checkbox, if file is in securefile location
188 188
         $builder->get('secureFile')->addEventListener(
189 189
             FormEvents::PRE_SET_DATA,
190
-            static function (FormEvent $event): void {
190
+            static function(FormEvent $event): void {
191 191
                 $attachment = $event->getForm()->getParent()->getData();
192 192
                 if ($attachment instanceof Attachment) {
193 193
                     $event->setData($attachment->isSecure());
Please login to merge, or discard this patch.
src/Form/UserAdminForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
             ->add('theme', ChoiceType::class, [
174 174
                 'required' => false,
175 175
                 'choices' => User::AVAILABLE_THEMES,
176
-                'choice_label' => static function ($entity, $key, $value) {
176
+                'choice_label' => static function($entity, $key, $value) {
177 177
                     return $value;
178 178
                 },
179 179
                 'attr' => [
Please login to merge, or discard this patch.