From e20dca30cae814da2a4a308e3ae8e82e32bd053e Mon Sep 17 00:00:00 2001 From: carmenmaymo Date: Tue, 19 Nov 2024 12:28:25 +0100 Subject: [PATCH] Fix CS errors --- src/PaymentMethods/Applepay.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PaymentMethods/Applepay.php b/src/PaymentMethods/Applepay.php index 5955112f..9b392b5b 100644 --- a/src/PaymentMethods/Applepay.php +++ b/src/PaymentMethods/Applepay.php @@ -31,8 +31,8 @@ protected function getConfig(): array public function getFormFields($generalFormFields): array { - $checkout_page_id = wc_get_page_id( 'checkout' ); - $edit_checkout_page_link = get_edit_post_link( $checkout_page_id ); + $checkout_page_id = wc_get_page_id('checkout'); + $edit_checkout_page_link = get_edit_post_link($checkout_page_id); $notice = [ 'notice' => [ @@ -42,7 +42,7 @@ public function getFormFields($generalFormFields): array '

The appearance of the Apple Pay button can be controlled in the Checkout page editor.

', 'mollie-payments-for-woocommerce' ), - esc_url( $edit_checkout_page_link ) + esc_url($edit_checkout_page_link) ), 'type' => 'title', 'class' => 'notice notice-warning',