mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Fix phpcs errors
This commit is contained in:
parent
6fe095f909
commit
15f69e8151
2 changed files with 3 additions and 3 deletions
|
@ -12,10 +12,10 @@ namespace WooCommerce\PayPalCommerce\Subscription;
|
|||
use WooCommerce\PayPalCommerce\Subscription\Helper\SubscriptionHelper;
|
||||
|
||||
return array(
|
||||
'subscription.helper' => static function ( $container ): SubscriptionHelper {
|
||||
'subscription.helper' => static function ( $container ): SubscriptionHelper {
|
||||
return new SubscriptionHelper();
|
||||
},
|
||||
'subscription.renewal-handler' => static function ( $container ): RenewalHandler {
|
||||
'subscription.renewal-handler' => static function ( $container ): RenewalHandler {
|
||||
$logger = $container->get( 'woocommerce.logger.woocommerce' );
|
||||
$repository = $container->get( 'vaulting.repository.payment-token' );
|
||||
$endpoint = $container->get( 'api.endpoint.order' );
|
||||
|
|
|
@ -14,7 +14,7 @@ use WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentToken;
|
|||
/**
|
||||
* Class PaymentTokensRendered
|
||||
*/
|
||||
class PaymentTokensRendered {
|
||||
class PaymentTokensRenderer {
|
||||
|
||||
/**
|
||||
* Render payment tokens.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue