From 12ff6233f2d53d934e4fc39562552dbf7e3196c2 Mon Sep 17 00:00:00 2001 From: Zdeno Kuzmany Date: Wed, 8 May 2019 09:49:11 +0200 Subject: [PATCH] Minor refactor --- EventListener/CheckDeduplicateContactsListener.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EventListener/CheckDeduplicateContactsListener.php b/EventListener/CheckDeduplicateContactsListener.php index 8eb9496..667cc9d 100644 --- a/EventListener/CheckDeduplicateContactsListener.php +++ b/EventListener/CheckDeduplicateContactsListener.php @@ -16,7 +16,7 @@ use Mautic\CoreBundle\EventListener\CommonSubscriber; use Mautic\CoreBundle\Templating\Helper\ButtonHelper; use Mautic\EmailBundle\Entity\Email; -use Mautic\LeadBundle\Event\CheckForDuplicateContactsEvent; +use Mautic\LeadBundle\Event\DuplicateContactsEvent; use Mautic\LeadBundle\LeadEvents; use Mautic\PluginBundle\Helper\IntegrationHelper; use MauticPlugin\MauticCustomDeduplicateBundle\Deduplicate\CustomDuplications; @@ -49,7 +49,7 @@ public static function getSubscribedEvents() ]; } - public function checkForDuplicateContacts(CheckForDuplicateContactsEvent $event) + public function checkForDuplicateContacts(DuplicateContactsEvent $event) { if (!defined('MAUTIC_CUSTOM_DEDUPLICATE_COMMAND')) { return;