mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Fix phpcs
This commit is contained in:
parent
aa8bc204b4
commit
9b58eca1b0
1 changed files with 3 additions and 3 deletions
|
@ -13,9 +13,9 @@ use WooCommerce\PayPalCommerce\CardFields\Helper\CardFieldsApplies;
|
|||
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
||||
|
||||
return array(
|
||||
'card-fields.eligible' => static function ( ContainerInterface $container ): bool {
|
||||
'card-fields.eligible' => static function ( ContainerInterface $container ): bool {
|
||||
$save_payment_methods_applies = $container->get( 'card-fields.helpers.save-payment-methods-applies' );
|
||||
assert( $save_payment_methods_applies instanceof CardFieldsApplies);
|
||||
assert( $save_payment_methods_applies instanceof CardFieldsApplies );
|
||||
|
||||
return $save_payment_methods_applies->for_country_currency();
|
||||
},
|
||||
|
@ -26,7 +26,7 @@ return array(
|
|||
$container->get( 'api.shop.country' )
|
||||
);
|
||||
},
|
||||
'card-fields.supported-country-currency-matrix' => static function ( ContainerInterface $container ) : array {
|
||||
'card-fields.supported-country-currency-matrix' => static function ( ContainerInterface $container ) : array {
|
||||
return apply_filters(
|
||||
'woocommerce_paypal_payments_card_fields_supported_country_currency_matrix',
|
||||
array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue