From 7147295b331a359c340df18f9148d3e81219da2a Mon Sep 17 00:00:00 2001 From: Danny van Kooten Date: Sun, 5 Jan 2025 14:33:12 +0100 Subject: [PATCH] fix syntax error on php 7.2 --- integrations/woocommerce/class-woocommerce.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/woocommerce/class-woocommerce.php b/integrations/woocommerce/class-woocommerce.php index 096fb54e..8a16fca1 100755 --- a/integrations/woocommerce/class-woocommerce.php +++ b/integrations/woocommerce/class-woocommerce.php @@ -100,8 +100,8 @@ public function add_checkout_block_field() { 'location' => 'order', 'type' => 'checkbox', 'label' => $this->get_label_text(), - 'optionalLabel' => $this->get_label_text(), - ), + 'optionalLabel' => $this->get_label_text() + ) ); }