diff --git a/src/Gateway.php b/src/Gateway.php index c8ad7b25..f151a30a 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -574,10 +574,10 @@ public function check_paytrail_response() { $order_id = filter_input(INPUT_GET, 'order_id'); $reference = filter_input(INPUT_GET, 'checkout-reference'); - if(!$status && !$reference && !$refund_callback && !$refund_unique_id){ - //no log to reduce number of log entries - return; - } + if (!$status && !$reference && !$refund_callback && !$refund_unique_id) { + //no log to reduce number of log entries + return; + } if (!$reference && $status && !$refund_callback && !$refund_unique_id) { $this->log('Paytrail: check_paytrail_response, no reference found for status: ' . $status, 'debug');