Remove duplicated return

This commit is contained in:
Emili Castells Guasch 2024-03-19 12:05:43 +01:00
parent 3cb0630380
commit 4e6eec462c
2 changed files with 0 additions and 2 deletions

View file

@ -241,7 +241,6 @@ document.addEventListener(
if (!typeof (PayPalCommerceGateway)) { if (!typeof (PayPalCommerceGateway)) {
console.error('PayPal button could not be configured.'); console.error('PayPal button could not be configured.');
return; return;
return;
} }
if ( if (

View file

@ -13,7 +13,6 @@ use Psr\Log\LoggerInterface;
use WC_Order; use WC_Order;
use WC_Payment_Token_CC; use WC_Payment_Token_CC;
use WC_Payment_Tokens; use WC_Payment_Tokens;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\PaymentTokensEndpoint;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException; use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\Vaulting\PaymentTokenRepository; use WooCommerce\PayPalCommerce\Vaulting\PaymentTokenRepository;
use WooCommerce\PayPalCommerce\Vendor\Dhii\Container\ServiceProvider; use WooCommerce\PayPalCommerce\Vendor\Dhii\Container\ServiceProvider;