mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
PHPCS fixes
This commit is contained in:
parent
d84f29a274
commit
55d98fdeb3
2 changed files with 22 additions and 22 deletions
|
@ -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' )
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue