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