diff --git a/core/lib/Thelia/Mailer/MailerFactory.php b/core/lib/Thelia/Mailer/MailerFactory.php index 5cd952270..a327a155f 100644 --- a/core/lib/Thelia/Mailer/MailerFactory.php +++ b/core/lib/Thelia/Mailer/MailerFactory.php @@ -41,7 +41,7 @@ class MailerFactory { protected $dispatcher; - public function _construct(EventDispatcherInterface $dispatcher) + public function __construct(EventDispatcherInterface $dispatcher) { $this->dispatcher = $dispatcher;