Fix psalm

This commit is contained in:
Emili Castells Guasch 2023-05-02 12:35:46 +02:00
parent e1d84af7f0
commit eca8a3b09c
21 changed files with 357 additions and 203 deletions

View file

@ -43,14 +43,14 @@ return array(
$endpoint = $container->get( 'api.endpoint.payment-token' );
return new PaymentTokenRepository( $factory, $endpoint );
},
'subscription.api-handler' => static function(ContainerInterface $container): SubscriptionsApiHandler {
'subscription.api-handler' => static function( ContainerInterface $container ): SubscriptionsApiHandler {
return new SubscriptionsApiHandler(
$container->get('api.endpoint.catalog-products'),
$container->get('api.factory.product'),
$container->get('api.endpoint.billing-plans'),
$container->get('api.factory.billing-cycle'),
$container->get('api.factory.payment-preferences'),
$container->get( 'api.endpoint.catalog-products' ),
$container->get( 'api.factory.product' ),
$container->get( 'api.endpoint.billing-plans' ),
$container->get( 'api.factory.billing-cycle' ),
$container->get( 'api.factory.payment-preferences' ),
$container->get( 'woocommerce.logger.woocommerce' )
);
}
},
);