From 597075cce63d0d3cda88e4f3e87874a6e9a48995 Mon Sep 17 00:00:00 2001 From: Leander Roters Date: Wed, 15 Nov 2023 16:02:56 +0100 Subject: [PATCH 1/2] Update class-wc-gzd-gateway-direct-debit.php avoid creation of dynamic property instructions --- .../gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php b/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php index 49e5e8f29..d8d942569 100644 --- a/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php +++ b/includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php @@ -46,6 +46,8 @@ class WC_GZD_Gateway_Direct_Debit extends WC_Payment_Gateway { protected $mandate_text; + protected $instructions; + public $admin_fields = array(); /** From ff0f400597d57773deb957fb7be0ed258f846291 Mon Sep 17 00:00:00 2001 From: Leander Roters Date: Wed, 15 Nov 2023 16:04:37 +0100 Subject: [PATCH 2/2] Update class-wc-gzd-gateway-invoice.php avoid creation of dynamic property --- includes/gateways/invoice/class-wc-gzd-gateway-invoice.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php b/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php index b3a637291..60747e7e3 100644 --- a/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php +++ b/includes/gateways/invoice/class-wc-gzd-gateway-invoice.php @@ -22,6 +22,8 @@ class WC_GZD_Gateway_Invoice extends WC_Payment_Gateway { protected $customers_completed; + protected $instructions; + /** * Constructor for the gateway. */