Skip to content

Commit

Permalink
CodeStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Nov 9, 2023
1 parent 8f5a4b6 commit f907ea8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Controller/OrderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,11 @@ public function isSepaPayment(): ?bool
$payment = $this->getPayment();

return (
($payment instanceof Payment) ?
( $payment->getId() === CoreUnzerDefinitions::SEPA_UNZER_PAYMENT_ID
|| $payment->getId() === CoreUnzerDefinitions::SEPA_SECURED_UNZER_PAYMENT_ID) : false
$payment instanceof Payment &&
(
$payment->getId() === CoreUnzerDefinitions::SEPA_UNZER_PAYMENT_ID ||
$payment->getId() === CoreUnzerDefinitions::SEPA_SECURED_UNZER_PAYMENT_ID
)
);
}

Expand Down

0 comments on commit f907ea8

Please sign in to comment.