From 7c61dc1d0f78e4151d66ffbd3f774bc76ec89e3c Mon Sep 17 00:00:00 2001 From: Daniel Dudzic Date: Wed, 23 Apr 2025 18:23:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Fix=20code=20formatting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Settings/PaymentMethodSettingsMapHelper.php | 4 ++-- .../src/PayPalSubscriptionsModule.php | 2 +- modules/ppcp-settings/src/Endpoint/SettingsRestEndpoint.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/ppcp-compat/src/Settings/PaymentMethodSettingsMapHelper.php b/modules/ppcp-compat/src/Settings/PaymentMethodSettingsMapHelper.php index 3e2c4620e..51f769ccb 100644 --- a/modules/ppcp-compat/src/Settings/PaymentMethodSettingsMapHelper.php +++ b/modules/ppcp-compat/src/Settings/PaymentMethodSettingsMapHelper.php @@ -28,8 +28,8 @@ class PaymentMethodSettingsMapHelper { */ public function map(): array { return array( - 'dcc_enabled' => CreditCardGateway::ID, - 'axo_enabled' => AxoGateway::ID, + 'dcc_enabled' => CreditCardGateway::ID, + 'axo_enabled' => AxoGateway::ID, ); } diff --git a/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php b/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php index b2c2d264f..223f79d0c 100644 --- a/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php +++ b/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php @@ -582,7 +582,7 @@ class PayPalSubscriptionsModule implements ServiceModule, ExtendingModule, Execu ), 'product_id' => $product->get_id(), 'i18n' => array( - 'prices_must_be_above_zero' => __( 'Prices must be above zero for PayPal Subscriptions!', 'woocommerce-paypal-payments' ), + 'prices_must_be_above_zero' => __( 'Prices must be above zero for PayPal Subscriptions!', 'woocommerce-paypal-payments' ), 'not_allowed_period_interval' => __( 'Not allowed period interval combination for PayPal Subscriptions!', 'woocommerce-paypal-payments' ), ), ) diff --git a/modules/ppcp-settings/src/Endpoint/SettingsRestEndpoint.php b/modules/ppcp-settings/src/Endpoint/SettingsRestEndpoint.php index 0474afec5..d5ef9eedc 100644 --- a/modules/ppcp-settings/src/Endpoint/SettingsRestEndpoint.php +++ b/modules/ppcp-settings/src/Endpoint/SettingsRestEndpoint.php @@ -89,7 +89,7 @@ class SettingsRestEndpoint extends RestEndpoint { 'disabled_cards' => array( 'js_name' => 'disabledCards', ), - 'three_d_secure' => array( + 'three_d_secure' => array( 'js_name' => 'threeDSecure', 'sanitize' => 'sanitize_text_field', ),