mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix phpcs errors
This commit is contained in:
parent
05d8012c99
commit
e74283e7f2
3 changed files with 3 additions and 3 deletions
|
@ -13,10 +13,10 @@ use WooCommerce\PayPalCommerce\Subscription\Helper\SubscriptionHelper;
|
||||||
use Psr\Container\ContainerInterface;
|
use Psr\Container\ContainerInterface;
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'subscription.helper' => static function ( ContainerInterface $container ): SubscriptionHelper {
|
'subscription.helper' => static function ( ContainerInterface $container ): SubscriptionHelper {
|
||||||
return new SubscriptionHelper();
|
return new SubscriptionHelper();
|
||||||
},
|
},
|
||||||
'subscription.renewal-handler' => static function ( ContainerInterface $container ): RenewalHandler {
|
'subscription.renewal-handler' => static function ( ContainerInterface $container ): RenewalHandler {
|
||||||
$logger = $container->get( 'woocommerce.logger.woocommerce' );
|
$logger = $container->get( 'woocommerce.logger.woocommerce' );
|
||||||
$repository = $container->get( 'vaulting.repository.payment-token' );
|
$repository = $container->get( 'vaulting.repository.payment-token' );
|
||||||
$endpoint = $container->get( 'api.endpoint.order' );
|
$endpoint = $container->get( 'api.endpoint.order' );
|
||||||
|
|
|
@ -100,7 +100,7 @@ class SettingsRenderer {
|
||||||
array $fields,
|
array $fields,
|
||||||
DccApplies $dcc_applies,
|
DccApplies $dcc_applies,
|
||||||
MessagesApply $messages_apply,
|
MessagesApply $messages_apply,
|
||||||
DccProductStatus $dcc_product_status,
|
DCCProductStatus $dcc_product_status,
|
||||||
SettingsStatus $settings_status,
|
SettingsStatus $settings_status,
|
||||||
string $page_id
|
string $page_id
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue