Completed
Push — master ( 813e7d...76abef )
by Jan
04:11
created
src/Form/Part/PartBaseType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $part = $options['data'];
70 70
 
71 71
         //Select the amount value type based on the
72
-        if($part->useFloatAmount()) {
72
+        if ($part->useFloatAmount()) {
73 73
             $amount_class = NumberType::class;
74 74
         } else {
75 75
             $amount_class = IntegerType::class;
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             ->add('description', CKEditorType::class, ['required' => false, 'empty_data' => '',
85 85
                 'label' => 'description.label', 'help' => 'bbcode.hint', 'config_name' => 'description_config',
86 86
                 'attr' => ['placeholder' => 'part.description.placeholder', 'rows' => 2],
87
-                'disabled' => !$this->security->isGranted('description.edit', $part), 'empty_data' => '' ])
87
+                'disabled' => !$this->security->isGranted('description.edit', $part), 'empty_data' => ''])
88 88
             ->add('partUnit', StructuralEntityType::class, ['class'=> MeasurementUnit::class,
89 89
                 'required' => false, 'disable_not_selectable' => true, 'label' => 'part.partUnit'])
90 90
             ->add('minAmount', $amount_class,
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
                 'disabled' => !$this->security->isGranted('move', $part), ])
99 99
             ->add('tags', TextType::class, ['required' => false, 'label' => 'part.tags', 'empty_data' => "",
100 100
                 'attr' => ['data-role' => 'tagsinput'],
101
-                'disabled' => !$this->security->isGranted('edit', $part) ])
101
+                'disabled' => !$this->security->isGranted('edit', $part)])
102 102
             ->add('comment', CKEditorType::class, ['required' => false,
103 103
                 'label' => 'comment.label', 'attr' => ['rows' => 4], 'help' => 'bbcode.hint',
104 104
                 'disabled' => !$this->security->isGranted('comment.edit', $part), 'empty_data' => '']);
Please login to merge, or discard this patch.