Add a PHPCS fix

This commit is contained in:
Daniel Dudzic 2024-04-29 23:29:35 +02:00
parent 1f613567ed
commit c88465b013
No known key found for this signature in database
GPG key ID: 31B40D33E3465483

View file

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