From f907ea8d1197f6d831f81ab992e5fd0774aeaedf Mon Sep 17 00:00:00 2001 From: Mario Lorenz Date: Thu, 9 Nov 2023 20:06:00 +0100 Subject: [PATCH] CodeStyle --- src/Controller/OrderController.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Controller/OrderController.php b/src/Controller/OrderController.php index 1519b2e7..6154fb18 100644 --- a/src/Controller/OrderController.php +++ b/src/Controller/OrderController.php @@ -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 + ) ); }