PHPCS fixes

This commit is contained in:
Daniel Dudzic 2024-11-19 11:23:38 +01:00
parent d84f29a274
commit 55d98fdeb3
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
2 changed files with 22 additions and 22 deletions

View file

@ -30,17 +30,17 @@ return array(
}, },
'axoblock.method' => static function ( ContainerInterface $container ) : AxoBlockPaymentMethod { 'axoblock.method' => static function ( ContainerInterface $container ) : AxoBlockPaymentMethod {
return new AxoBlockPaymentMethod( return new AxoBlockPaymentMethod(
$container->get('axoblock.url'), $container->get( 'axoblock.url' ),
$container->get('ppcp.asset-version'), $container->get( 'ppcp.asset-version' ),
$container->get('axo.gateway'), $container->get( 'axo.gateway' ),
fn(): SmartButtonInterface => $container->get('button.smart-button'), fn(): SmartButtonInterface => $container->get( 'button.smart-button' ),
$container->get('wcgateway.settings'), $container->get( 'wcgateway.settings' ),
$container->get('wcgateway.configuration.dcc'), $container->get( 'wcgateway.configuration.dcc' ),
$container->get('onboarding.environment'), $container->get( 'onboarding.environment' ),
$container->get('wcgateway.url'), $container->get( 'wcgateway.url' ),
$container->get('axo.payment_method_selected_map'), $container->get( 'axo.payment_method_selected_map' ),
$container->get('axo.supported-country-card-type-matrix'), $container->get( 'axo.supported-country-card-type-matrix' ),
$container->get('axo.shipping-wc-enabled-locations') $container->get( 'axo.shipping-wc-enabled-locations' )
); );
}, },
); );

View file

@ -137,17 +137,17 @@ class AxoManager {
array $enabled_shipping_locations array $enabled_shipping_locations
) { ) {
$this->module_url = $module_url; $this->module_url = $module_url;
$this->version = $version; $this->version = $version;
$this->session_handler = $session_handler; $this->session_handler = $session_handler;
$this->settings = $settings; $this->settings = $settings;
$this->environment = $environment; $this->environment = $environment;
$this->insights_data = $insights_data; $this->insights_data = $insights_data;
$this->settings_status = $settings_status; $this->settings_status = $settings_status;
$this->currency = $currency; $this->currency = $currency;
$this->logger = $logger; $this->logger = $logger;
$this->wcgateway_module_url = $wcgateway_module_url; $this->wcgateway_module_url = $wcgateway_module_url;
$this->enabled_shipping_locations = $enabled_shipping_locations; $this->enabled_shipping_locations = $enabled_shipping_locations;
$this->supported_country_card_type_matrix = $supported_country_card_type_matrix; $this->supported_country_card_type_matrix = $supported_country_card_type_matrix;
} }