Passed
Push — master ( ae23a8...08267b )
by Jan
05:52
created
src/Form/AdminPages/SupplierForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             'required' => false,
72 72
             'label' => 'supplier.edit.default_currency',
73 73
             'disable_not_selectable' => true,
74
-            'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'move', $entity),
74
+            'disabled' => !$this->security->isGranted($is_new ? 'create' : 'move', $entity),
75 75
         ]);
76 76
 
77 77
         $builder->add('shipping_costs', BigDecimalMoneyType::class, [
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             'currency' => $this->default_currency,
80 80
             'scale' => 3,
81 81
             'label' => 'supplier.shipping_costs.label',
82
-            'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'move', $entity),
82
+            'disabled' => !$this->security->isGranted($is_new ? 'create' : 'move', $entity),
83 83
         ]);
84 84
     }
85 85
 }
Please login to merge, or discard this patch.