Passed
Push — master ( 71727e...6db3f4 )
by Jan
04:38
created
src/Form/AdminPages/CurrencyAdminForm.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
                 'title' => 'selectpicker.nothing_selected',
72 72
                 'data-live-search' => true,
73 73
             ],
74
-            'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity),
74
+            'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity),
75 75
         ]);
76 76
 
77 77
         $builder->add('exchange_rate', MoneyType::class, [
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             'label' => 'currency.edit.exchange_rate',
80 80
             'currency' => $this->default_currency,
81 81
             'scale' => 6,
82
-            'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity),
82
+            'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity),
83 83
         ]);
84 84
     }
85 85
 }
Please login to merge, or discard this patch.