Completed
Push — master ( a46bcd...68aa75 )
by Jan
03:05
created
src/Form/ImportType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         $builder
52 52
 
53 53
             ->add('format', ChoiceType::class, ['choices' =>
54
-                ['JSON' => 'json', 'XML' => 'xml','CSV'=>'csv' ,'YAML' => 'yaml']])
54
+                ['JSON' => 'json', 'XML' => 'xml', 'CSV'=>'csv', 'YAML' => 'yaml']])
55 55
             ->add('csv_separator', TextType::class, ['data' => ';'])
56 56
             ->add('parent', EntityType::class, ['class' => $data['entity_class'], 'choice_label' => 'full_path',
57 57
                 'attr' => ['class' => 'selectpicker', 'data-live-search' => true], 'required' => false, 'label' => 'parent.label',
Please login to merge, or discard this patch.
src/Controller/AttachmentTypeController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
             foreach ($errors as $name => $error) {
121 121
                 /** @var $error ConstraintViolationList */
122
-                $this->addFlash('error', $name . ":" . $error);
122
+                $this->addFlash('error', $name.":".$error);
123 123
             }
124 124
         }
125 125
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     {
167 167
         $entities = $em->getRepository(AttachmentType::class)->findAll();
168 168
 
169
-        return $exporter->exportEntityFromRequest($entities,$request);
169
+        return $exporter->exportEntityFromRequest($entities, $request);
170 170
     }
171 171
 
172 172
     /**
Please login to merge, or discard this patch.