From dcb816c40ebdc847b53d4ee55e28425d12315c69 Mon Sep 17 00:00:00 2001 From: condor2 Date: Tue, 4 Jun 2024 10:21:39 +0300 Subject: [PATCH] Fixed 2 PHPStan warning for Paypal v3.12 --- upload/catalog/controller/extension/payment/paypal.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upload/catalog/controller/extension/payment/paypal.php b/upload/catalog/controller/extension/payment/paypal.php index 181a96d1..47f82901 100644 --- a/upload/catalog/controller/extension/payment/paypal.php +++ b/upload/catalog/controller/extension/payment/paypal.php @@ -3778,6 +3778,7 @@ public function callback() { $order_status_id = 0; $transaction_status = ''; $payment_method = 'card'; + $paypal_order_data = []; if (!$this->cart->hasShipping()) { $seller_protection_status = 'NOT_ELIGIBLE'; @@ -3883,6 +3884,7 @@ public function callback() { $order_status_id = 0; $transaction_status = ''; $payment_method = 'card'; + $paypal_order_data = []; if (!$this->cart->hasShipping()) { $seller_protection_status = 'NOT_ELIGIBLE';