Passed
Push — master ( 08267b...db956f )
by Jan
04:49
created
src/Form/AdminPages/CurrencyAdminForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
                 'title' => 'selectpicker.nothing_selected',
73 73
                 'data-live-search' => true,
74 74
             ],
75
-            'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity),
75
+            'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity),
76 76
         ]);
77 77
 
78 78
         $builder->add('exchange_rate', BigDecimalMoneyType::class, [
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             'label' => 'currency.edit.exchange_rate',
81 81
             'currency' => $this->default_currency,
82 82
             'scale' => 6,
83
-            'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity),
83
+            'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity),
84 84
         ]);
85 85
     }
86 86
 }
Please login to merge, or discard this patch.