diff --git a/src/EmailManager/DecorateContactEmailManager.php b/src/EmailManager/DecorateContactEmailManager.php index 12ee59a..fc77b59 100644 --- a/src/EmailManager/DecorateContactEmailManager.php +++ b/src/EmailManager/DecorateContactEmailManager.php @@ -13,7 +13,6 @@ use Doctrine\ORM\EntityManagerInterface; use MonsieurBiz\SyliusContactRequestPlugin\Entity\ContactRequestInterface; -use Sylius\Bundle\ShopBundle\EmailManager\ContactEmailManager; use Sylius\Bundle\ShopBundle\EmailManager\ContactEmailManagerInterface; use Sylius\Component\Core\Model\ChannelInterface; use Sylius\Component\Resource\Factory\FactoryInterface; @@ -21,7 +20,7 @@ final class DecorateContactEmailManager implements ContactEmailManagerInterface { public function __construct( - private ContactEmailManager $decoratedContactEmailManager, + private ContactEmailManagerInterface $decoratedContactEmailManager, private FactoryInterface $contactRequestFactory, private EntityManagerInterface $contactRequestManager, ) {