mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Wrap multiple condition in parenthesis
This commit is contained in:
parent
b2b3a35774
commit
a16ab58dd8
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class BlocksModule implements ServiceModule, ExtendingModule, ExecutableModule {
|
|||
assert( $settings instanceof Settings );
|
||||
|
||||
// Include ACDC in the Block Checkout only in case Axo doesn't exist or is not available or the user is logged in.
|
||||
if ( ($settings->has( 'axo_enabled' ) && ! $settings->get( 'axo_enabled' )) || is_user_logged_in() ) {
|
||||
if ( ( $settings->has( 'axo_enabled' ) && ! $settings->get( 'axo_enabled' ) ) || is_user_logged_in() ) {
|
||||
$payment_method_registry->register( $c->get( 'blocks.advanced-card-method' ) );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue