Skip to content

Commit

Permalink
Fix CS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Nov 19, 2024
1 parent b67f723 commit e20dca3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PaymentMethods/Applepay.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand All @@ -42,7 +42,7 @@ public function getFormFields($generalFormFields): array
'<p>The appearance of the Apple Pay button can be controlled in the <a href="%1$s">Checkout page editor</a>.</p>',
'mollie-payments-for-woocommerce'
),
esc_url( $edit_checkout_page_link )
esc_url($edit_checkout_page_link)
),
'type' => 'title',
'class' => 'notice notice-warning',
Expand Down

0 comments on commit e20dca3

Please sign in to comment.