Completed
Push — master ( 016c28...e7cc53 )
by Jan
03:46
created
src/Form/Part/PartBaseType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
             ->add('description', CKEditorType::class, ['required' => false, 'empty_data' => '',
82 82
                 'label' => 'description.label', 'help' => 'bbcode.hint', 'config_name' => 'description_config',
83 83
                 'attr' => ['placeholder' => 'part.description.placeholder', 'rows' => 2],
84
-                'disabled' => !$this->security->isGranted('description.edit', $part) ])
84
+                'disabled' => !$this->security->isGranted('description.edit', $part)])
85 85
             ->add('minAmount', SIUnitType::class,
86 86
                 ['attr' => ['min' => 0, 'placeholder' => 'part.mininstock.placeholder'], 'label' => 'mininstock.label',
87 87
                     'show_prefix' => $use_si_prefix, "unit" => $part_unit_name, "is_integer" => !$part->useFloatAmount(),
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
                 'disabled' => !$this->security->isGranted('move', $part), ])
95 95
             ->add('tags', TextType::class, ['required' => false, 'label' => 'part.tags', 'empty_data' => "",
96 96
                 'attr' => ['data-role' => 'tagsinput'],
97
-                'disabled' => !$this->security->isGranted('edit', $part) ]);
97
+                'disabled' => !$this->security->isGranted('edit', $part)]);
98 98
 
99 99
         //Manufacturer section
100 100
         $builder->add('manufacturer', StructuralEntityType::class, ['class' => Manufacturer::class,
Please login to merge, or discard this patch.
src/Form/Type/SIUnitType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
         if ($options['show_prefix']) {
71 71
             $builder->add('prefix', ChoiceType::class, [
72
-                'choices' => ['M' => 6, 'k' => 3, '' => 0, 'm' => -3 ]
72
+                'choices' => ['M' => 6, 'k' => 3, '' => 0, 'm' => -3]
73 73
             ]);
74 74
         }
75 75
 
Please login to merge, or discard this patch.