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 {
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' )
);
},
);

View file

@ -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;
}