mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
phpcs
This commit is contained in:
parent
9563d60427
commit
e5ac872b72
1 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,7 @@ use Inpsyde\PayPalCommerce\Onboarding\Environment;
|
||||||
use Inpsyde\PayPalCommerce\Onboarding\State;
|
use Inpsyde\PayPalCommerce\Onboarding\State;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'button.client_id' => static function(ContainerInterface $container) : string {
|
'button.client_id' => static function (ContainerInterface $container): string {
|
||||||
|
|
||||||
$settings = $container->get('wcgateway.settings');
|
$settings = $container->get('wcgateway.settings');
|
||||||
$clientId = $settings->has('client_id') ? $settings->get('client_id') : '';
|
$clientId = $settings->has('client_id') ? $settings->get('client_id') : '';
|
||||||
|
@ -63,7 +63,6 @@ return [
|
||||||
$payerFactory,
|
$payerFactory,
|
||||||
$clientId
|
$clientId
|
||||||
);
|
);
|
||||||
|
|
||||||
},
|
},
|
||||||
'button.url' => static function (ContainerInterface $container): string {
|
'button.url' => static function (ContainerInterface $container): string {
|
||||||
return plugins_url(
|
return plugins_url(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue