mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Remove unused property
This commit is contained in:
parent
47c4c62d6f
commit
746e26397a
2 changed files with 2 additions and 7 deletions
|
@ -148,7 +148,6 @@ return array(
|
|||
$settings = $container->get( 'wcgateway.settings' );
|
||||
$environment = $container->get( 'onboarding.environment' );
|
||||
$logger = $container->get( 'woocommerce.logger.woocommerce' );
|
||||
$payment_token_repository = $container->get( 'subscription.repository.payment-token' );
|
||||
return new OrderProcessor(
|
||||
$session_handler,
|
||||
$order_endpoint,
|
||||
|
@ -157,8 +156,7 @@ return array(
|
|||
$authorized_payments_processor,
|
||||
$settings,
|
||||
$logger,
|
||||
$environment->current_environment_is( Environment::SANDBOX ),
|
||||
$payment_token_repository
|
||||
$environment->current_environment_is( Environment::SANDBOX )
|
||||
);
|
||||
},
|
||||
'wcgateway.processor.refunds' => static function ( $container ): RefundProcessor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue