From f49d748d5a3ea7e965c7ef8a990845a22cf8dde0 Mon Sep 17 00:00:00 2001 From: dinamiko Date: Wed, 31 Mar 2021 16:21:46 +0200 Subject: [PATCH] Fix phpcs errors --- modules/ppcp-wc-gateway/services.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/ppcp-wc-gateway/services.php b/modules/ppcp-wc-gateway/services.php index 657608c3e..dc3eff8b2 100644 --- a/modules/ppcp-wc-gateway/services.php +++ b/modules/ppcp-wc-gateway/services.php @@ -188,7 +188,7 @@ return array( $state = $container->get( 'onboarding.state' ); $settings = $container->get( 'wcgateway.settings' ); - $messages_disclaimers = $container->get('button.helper.messages-disclaimers'); + $messages_disclaimers = $container->get( 'button.helper.messages-disclaimers' ); $fields = array( 'sandbox_on' => array( @@ -859,7 +859,7 @@ return array( ), 'requirements' => array( 'messages' ), 'gateway' => 'paypal', - 'description' => str_replace( '', '', __( 'Displays Pay Later messaging for available offers. Restrictions apply. Click here to learn more.', 'woocommerce-paypal-payments' ) ), + 'description' => str_replace( '', '', __( 'Displays Pay Later messaging for available offers. Restrictions apply. Click here to learn more.', 'woocommerce-paypal-payments' ) ), 'class' => array( 'ppcp-subheading' ), ), 'message_enabled' => array( @@ -1162,7 +1162,7 @@ return array( ), 'requirements' => array( 'messages' ), 'gateway' => 'paypal', - 'description' => str_replace( '', '', __( 'Displays Pay Later messaging for available offers. Restrictions apply. Click here to learn more.', 'woocommerce-paypal-payments' ) ), + 'description' => str_replace( '', '', __( 'Displays Pay Later messaging for available offers. Restrictions apply. Click here to learn more.', 'woocommerce-paypal-payments' ) ), 'class' => array( 'ppcp-subheading' ), ), 'message_product_enabled' => array( @@ -1465,7 +1465,7 @@ return array( ), 'requirements' => array( 'messages' ), 'gateway' => 'paypal', - 'description' => str_replace( '', '', __( 'Displays Pay Later messaging for available offers. Restrictions apply. Click here to learn more.', 'woocommerce-paypal-payments' ) ), + 'description' => str_replace( '', '', __( 'Displays Pay Later messaging for available offers. Restrictions apply. Click here to learn more.', 'woocommerce-paypal-payments' ) ), 'class' => array( 'ppcp-subheading' ), ), 'message_cart_enabled' => array( @@ -1915,7 +1915,7 @@ return array( return new DccProductStatus( $settings, $partner_endpoint ); }, - 'button.helper.messages-disclaimers' => static function ( $container ): MessagesDisclaimers { - return new MessagesDisclaimers(); - }, + 'button.helper.messages-disclaimers' => static function ( $container ): MessagesDisclaimers { + return new MessagesDisclaimers(); + }, );