symfony Event no longer exists - ActionSchedule
authordemeritcowboy <demeritcowboy@hotmail.com>
Tue, 19 Apr 2022 00:36:51 +0000 (20:36 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Fri, 11 Nov 2022 19:27:44 +0000 (14:27 -0500)
Civi/ActionSchedule/Event/MailingQueryEvent.php
Civi/ActionSchedule/Event/MappingRegisterEvent.php

index eaad9364ee849a81fc36ce60a5b11fa13d08a008..6ab5d17105f78cacc2ff5e23882e81fc553d7e86 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 namespace Civi\ActionSchedule\Event;
 
-use Symfony\Component\EventDispatcher\Event;
+use Civi\Core\Event\GenericHookEvent;
 
 /**
  * Class MailingQueryEvent
@@ -49,7 +49,7 @@ use Symfony\Component\EventDispatcher\Event;
  *
  * Event name: 'civi.actionSchedule.prepareMailingQuery'
  */
-class MailingQueryEvent extends Event {
+class MailingQueryEvent extends GenericHookEvent {
 
   /**
    * The schedule record which produced this mailing.
index ef8c7f3750366f0e973011c62c8b4e402d6cb318..277fdbfc7dbb433c10b2ad125067d6d53130fc0d 100644 (file)
@@ -2,7 +2,7 @@
 namespace Civi\ActionSchedule\Event;
 
 use Civi\ActionSchedule\MappingInterface;
-use Symfony\Component\EventDispatcher\Event;
+use Civi\Core\Event\GenericHookEvent;
 
 /**
  * Class ActionScheduleEvent
@@ -12,7 +12,7 @@ use Symfony\Component\EventDispatcher\Event;
  *
  * Event name: 'civi.actionSchedule.getMappings'
  */
-class MappingRegisterEvent extends Event {
+class MappingRegisterEvent extends GenericHookEvent {
 
   /**
    * @var array