mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Add a PHPCS fix
This commit is contained in:
parent
1f613567ed
commit
c88465b013
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ trait PageMatcherTrait {
|
|||
Settings::PAY_LATER_TAB_ID => Settings::PAY_LATER_TAB_ID,
|
||||
CreditCardGateway::ID => 'dcc', // TODO: consider using just the gateway ID for PayPal and DCC too.
|
||||
CardButtonGateway::ID => CardButtonGateway::ID,
|
||||
AxoGateway::ID => 'axo',
|
||||
AxoGateway::ID => 'axo',
|
||||
);
|
||||
return array_key_exists( $current_page_id, $gateway_page_id_map )
|
||||
&& in_array( $gateway_page_id_map[ $current_page_id ], $allowed_gateways, true );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue