BitBagCommerce / SyliusMailChimpPlugin

Simple MailChimp integration with Sylius eCommerce framework.
MIT License
42 stars 27 forks source link

Correct services Mailchimp controller arguments #56

Closed maximehuran closed 1 year ago

maximehuran commented 2 years ago

To avoid these errors :

  Invalid definition for service "bitbag_sylius_mailchimp_plugin.controller.mailchimp": "BitBag\SyliusMailChimpPlugin\Controller\MailchimpController::__construct()" requires 3 arguments, 2 passed.
  Invalid definition for service "bitbag_sylius_mailchimp_plugin.controller.mailchimp": argument 1 of "BitBag\SyliusMailChimpPlugin\Controller\MailchimpController::__construct()" accepts "BitBag\SyliusMailChimpPlugin\Validator\WebhookValida
  tor", "BitBag\SyliusMailChimpPlugin\Validator\NewsletterValidator" passed.