mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Fix phpcs
This commit is contained in:
parent
09ac019bd0
commit
b53b30feab
2 changed files with 26 additions and 26 deletions
|
@ -15,8 +15,8 @@ use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'wcgateway.settings.fields' => function ( ContainerInterface $container, array $fields ): array {
|
'wcgateway.settings.fields' => function ( ContainerInterface $container, array $fields ): array {
|
||||||
$subscription_helper = $container->get('subscription.helper');
|
$subscription_helper = $container->get( 'subscription.helper' );
|
||||||
assert($subscription_helper instanceof SubscriptionHelper);
|
assert( $subscription_helper instanceof SubscriptionHelper );
|
||||||
|
|
||||||
$insert_after = function( array $array, string $key, array $new ): array {
|
$insert_after = function( array $array, string $key, array $new ): array {
|
||||||
$keys = array_keys( $array );
|
$keys = array_keys( $array );
|
||||||
|
@ -52,5 +52,5 @@ return array(
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
},
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue