mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Remove duplicated return
This commit is contained in:
parent
3cb0630380
commit
4e6eec462c
2 changed files with 0 additions and 2 deletions
|
@ -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 (
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue