From 70b0bf6194427a08de567dbade1e66aee2c494e5 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 18 Apr 2022 20:42:40 -0400 Subject: [PATCH] symfony Event no longer exists - Core --- Civi/Core/Event/QueryEvent.php | 2 +- Civi/Core/Event/SmartyErrorEvent.php | 2 +- Civi/Core/Event/SystemInstallEvent.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Civi/Core/Event/QueryEvent.php b/Civi/Core/Event/QueryEvent.php index ab89195d48..7639b4f6a8 100644 --- a/Civi/Core/Event/QueryEvent.php +++ b/Civi/Core/Event/QueryEvent.php @@ -17,7 +17,7 @@ namespace Civi\Core\Event; * * The QueryEvent fires whenever a SQL query is executed. */ -class QueryEvent extends \Symfony\Component\EventDispatcher\Event { +class QueryEvent extends GenericHookEvent { /** * @var string diff --git a/Civi/Core/Event/SmartyErrorEvent.php b/Civi/Core/Event/SmartyErrorEvent.php index e27fb3ae4d..cc5234f362 100644 --- a/Civi/Core/Event/SmartyErrorEvent.php +++ b/Civi/Core/Event/SmartyErrorEvent.php @@ -18,7 +18,7 @@ namespace Civi\Core\Event; * Class SmartyErrorEvent * @package Civi\API\Event */ -class SmartyErrorEvent extends \Symfony\Component\EventDispatcher\Event { +class SmartyErrorEvent extends GenericHookEvent { /** * The error message generated by smarty diff --git a/Civi/Core/Event/SystemInstallEvent.php b/Civi/Core/Event/SystemInstallEvent.php index 3a9193e3df..06f218934d 100644 --- a/Civi/Core/Event/SystemInstallEvent.php +++ b/Civi/Core/Event/SystemInstallEvent.php @@ -15,7 +15,7 @@ namespace Civi\Core\Event; * Class SystemInstallEvent * @package Civi\API\Event */ -class SystemInstallEvent extends \Symfony\Component\EventDispatcher\Event { +class SystemInstallEvent extends GenericHookEvent { /** * The SystemInstallEvent fires once after installation - during the first page-view. -- 2.25.1