diff --git a/Service/CheckPaymentType.php b/Service/CheckPaymentType.php index 08a016143..26253bb0e 100644 --- a/Service/CheckPaymentType.php +++ b/Service/CheckPaymentType.php @@ -1,50 +1,49 @@ -getMethod(), 'buckaroo_magento2') !== false; - } - - /** - * Check if user is on the payment provider page - * - * @param OrderPaymentInterface|null $payment - * @return boolean - */ - public function isPaymentInTransit(?OrderPaymentInterface $payment): bool - { - if (!$payment instanceof OrderPaymentInterface) { - return false; - } - - return $payment->getAdditionalInformation(BuckarooAdapter::BUCKAROO_PAYMENT_IN_TRANSIT) == true; - } - -} \ No newline at end of file +getMethod(), 'buckaroo_magento2') !== false; + } + + /** + * Check if user is on the payment provider page + * + * @param OrderPaymentInterface|null $payment + * @return boolean + */ + public function isPaymentInTransit(?OrderPaymentInterface $payment): bool + { + if (!$payment instanceof OrderPaymentInterface) { + return false; + } + + return $payment->getAdditionalInformation(BuckarooAdapter::BUCKAROO_PAYMENT_IN_TRANSIT) == true; + } +}