Skip to content

Commit

Permalink
DI missing service fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mandan2 committed Nov 7, 2023
1 parent 4f54560 commit 7fd8967
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ServiceProvider/BaseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ public function register(Container $container)
$this->addService($container, PaymentMethodPositionHandlerInterface::class, PaymentMethodPositionHandler::class)
->withArgument(PaymentMethodRepositoryInterface::class);

$this->addService($container, CertificateHandlerInterface::class, ApplePayDirectCertificateHandler::class)
->withArgument(Mollie::class);
$this->addService($container, CertificateHandlerInterface::class, $container->get(ApplePayDirectCertificateHandler::class));

$this->addService($container, ProfileIdProviderInterface::class, ProfileIdProvider::class);

Expand Down

0 comments on commit 7fd8967

Please sign in to comment.