diff --git a/includes/class-wc-payments-features.php b/includes/class-wc-payments-features.php index 8c7aeb57980..704686af516 100644 --- a/includes/class-wc-payments-features.php +++ b/includes/class-wc-payments-features.php @@ -78,7 +78,7 @@ public static function is_upe_split_enabled() { */ public static function is_upe_deferred_intent_enabled() { $account = WC_Payments::get_database_cache()->get( WCPay\Database_Cache::ACCOUNT_KEY, true ); - if ( $account === null ) { + if ( null === $account ) { return true; } return is_array( $account ) && ( $account[ self::DEFERRED_UPE_SERVER_FLAG_NAME ] ?? false );