From d4ad8dc7ed2e92e2fa2a5ab11370fe5268e98b0d Mon Sep 17 00:00:00 2001 From: Mark Hamstra Date: Wed, 15 Mar 2023 18:59:37 +0100 Subject: [PATCH] Fix phpcs errors --- core/components/commerce_payrexx/src/Gateways/Gateway.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/components/commerce_payrexx/src/Gateways/Gateway.php b/core/components/commerce_payrexx/src/Gateways/Gateway.php index bb1e830..839a092 100644 --- a/core/components/commerce_payrexx/src/Gateways/Gateway.php +++ b/core/components/commerce_payrexx/src/Gateways/Gateway.php @@ -71,8 +71,7 @@ public function submit(comTransaction $transaction, array $data): Transaction if ($psp = $this->method->getProperty('psp')) { $payment->setPsp([$psp]); - } - else { + } else { $payment->setPsp([]); } //$payment->setPm(['mastercard']); @@ -117,7 +116,7 @@ public function submit(comTransaction $transaction, array $data): Transaction 3 => 'Benutzerdefiniertes Feld (FR)', 4 => 'Benutzerdefiniertes Feld (IT)', */ - $this->adapter->loadLexicon('de:commerce:default', 'en:commerce:default', 'fr:commerce:default','it:commerce:default'); + $this->adapter->loadLexicon('de:commerce:default', 'en:commerce:default', 'fr:commerce:default', 'it:commerce:default'); // Store some custom info $payment->addField('custom_field_1', $order->get('reference'), [