Settings UI: Remove the unnecessary dependency

This commit is contained in:
Daniel Dudzic 2025-02-06 23:34:39 +01:00
parent 605d02edf0
commit 559ac7e962
No known key found for this signature in database
GPG key ID: 31B40D33E3465483

View file

@ -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(