diff --git a/modules/ppcp-axo-block/services.php b/modules/ppcp-axo-block/services.php index 2e728ff58..f91cd738a 100644 --- a/modules/ppcp-axo-block/services.php +++ b/modules/ppcp-axo-block/services.php @@ -30,17 +30,17 @@ return array( }, 'axoblock.method' => static function ( ContainerInterface $container ) : AxoBlockPaymentMethod { return new AxoBlockPaymentMethod( - $container->get('axoblock.url'), - $container->get('ppcp.asset-version'), - $container->get('axo.gateway'), - fn(): SmartButtonInterface => $container->get('button.smart-button'), - $container->get('wcgateway.settings'), - $container->get('wcgateway.configuration.dcc'), - $container->get('onboarding.environment'), - $container->get('wcgateway.url'), - $container->get('axo.payment_method_selected_map'), - $container->get('axo.supported-country-card-type-matrix'), - $container->get('axo.shipping-wc-enabled-locations') + $container->get( 'axoblock.url' ), + $container->get( 'ppcp.asset-version' ), + $container->get( 'axo.gateway' ), + fn(): SmartButtonInterface => $container->get( 'button.smart-button' ), + $container->get( 'wcgateway.settings' ), + $container->get( 'wcgateway.configuration.dcc' ), + $container->get( 'onboarding.environment' ), + $container->get( 'wcgateway.url' ), + $container->get( 'axo.payment_method_selected_map' ), + $container->get( 'axo.supported-country-card-type-matrix' ), + $container->get( 'axo.shipping-wc-enabled-locations' ) ); }, ); diff --git a/modules/ppcp-axo/src/Assets/AxoManager.php b/modules/ppcp-axo/src/Assets/AxoManager.php index 37e188072..6fafcb681 100644 --- a/modules/ppcp-axo/src/Assets/AxoManager.php +++ b/modules/ppcp-axo/src/Assets/AxoManager.php @@ -137,17 +137,17 @@ class AxoManager { array $enabled_shipping_locations ) { - $this->module_url = $module_url; - $this->version = $version; - $this->session_handler = $session_handler; - $this->settings = $settings; - $this->environment = $environment; - $this->insights_data = $insights_data; - $this->settings_status = $settings_status; - $this->currency = $currency; - $this->logger = $logger; - $this->wcgateway_module_url = $wcgateway_module_url; - $this->enabled_shipping_locations = $enabled_shipping_locations; + $this->module_url = $module_url; + $this->version = $version; + $this->session_handler = $session_handler; + $this->settings = $settings; + $this->environment = $environment; + $this->insights_data = $insights_data; + $this->settings_status = $settings_status; + $this->currency = $currency; + $this->logger = $logger; + $this->wcgateway_module_url = $wcgateway_module_url; + $this->enabled_shipping_locations = $enabled_shipping_locations; $this->supported_country_card_type_matrix = $supported_country_card_type_matrix; }