Skip to content

Commit

Permalink
Fix phpcs errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-H committed Mar 15, 2023
1 parent 093e266 commit d4ad8dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/components/commerce_payrexx/src/Gateways/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down Expand Up @@ -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'), [
Expand Down

0 comments on commit d4ad8dc

Please sign in to comment.