Fix CardFieldsApplies method, service and filter names

This commit is contained in:
George Burduli 2024-07-22 14:02:52 +04:00
parent d685de73b7
commit caee378ba4
No known key found for this signature in database
GPG key ID: 572A97DFDA3D2E5C

View file

@ -21,14 +21,13 @@ return array(
},
'card-fields.helpers.save-payment-methods-applies' => static function ( ContainerInterface $container ) : CardFieldsApplies {
return new CardFieldsApplies(
$container->get( 'card-fields.supported-country-currency-matrix' ),
$container->get( 'api.shop.currency' ),
$container->get( 'card-fields.supported-country-matrix' ),
$container->get( 'api.shop.country' )
);
},
'card-fields.supported-country-currency-matrix' => static function ( ContainerInterface $container ) : array {
'card-fields.supported-country-matrix' => static function ( ContainerInterface $container ) : array {
return apply_filters(
'woocommerce_paypal_payments_card_fields_supported_country_currency_matrix',
'woocommerce_paypal_payments_card_fields_supported_country_matrix',
array(
'AU',
'AT',