From 559ac7e9620c128beaf8fb2b79d9a84632bb56db Mon Sep 17 00:00:00 2001 From: Daniel Dudzic Date: Thu, 6 Feb 2025 23:34:39 +0100 Subject: [PATCH] Settings UI: Remove the unnecessary dependency --- modules/ppcp-settings/services.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ppcp-settings/services.php b/modules/ppcp-settings/services.php index ac5b5eab2..b1643c13b 100644 --- a/modules/ppcp-settings/services.php +++ b/modules/ppcp-settings/services.php @@ -107,7 +107,7 @@ return array( return new CommonRestEndpoint( $container->get( 'settings.data.general' ) ); }, 'settings.rest.payment' => static function ( ContainerInterface $container ) : PaymentRestEndpoint { - return new PaymentRestEndpoint( $container->get( 'settings.data.payment' ), $container->get( 'woocommerce.logger.woocommerce' ) ); + return new PaymentRestEndpoint( $container->get( 'settings.data.payment' ) ); }, 'settings.rest.styling' => static function ( ContainerInterface $container ) : StylingRestEndpoint { return new StylingRestEndpoint(