mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
codestyle
This commit is contained in:
parent
ccda439569
commit
5fc8dde271
4 changed files with 21 additions and 7 deletions
|
@ -198,7 +198,12 @@ class CreditCardGateway extends PayPalGateway {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the gateway is available or not.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function is_available() : bool {
|
||||
return $this->config->has('dcc_enabled') && $this->config->get('dcc_enabled');
|
||||
return $this->config->has( 'dcc_enabled' ) && $this->config->get( 'dcc_enabled' );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue