From cd908d33eeb023b1816b904ca0a895d6524d5626 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sun, 19 Mar 2023 19:22:33 +0300 Subject: [PATCH] Forgotten 'public' modifier added to event classes. --- src/Event/UserSubscribersUpdatedEvent.php | 2 +- src/Event/UsersRenamedEvent.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Event/UserSubscribersUpdatedEvent.php b/src/Event/UserSubscribersUpdatedEvent.php index dbdb55f..d4583bd 100644 --- a/src/Event/UserSubscribersUpdatedEvent.php +++ b/src/Event/UserSubscribersUpdatedEvent.php @@ -9,7 +9,7 @@ use Symfony\Contracts\EventDispatcher\Event; /** Dispatched when user subscribers list was changed */ class UserSubscribersUpdatedEvent extends Event { - const NAME = 'app.user.subscribers_updated'; + public const NAME = 'app.user.subscribers_updated'; /** * @param User $user diff --git a/src/Event/UsersRenamedEvent.php b/src/Event/UsersRenamedEvent.php index 289401a..d5fba96 100644 --- a/src/Event/UsersRenamedEvent.php +++ b/src/Event/UsersRenamedEvent.php @@ -9,7 +9,7 @@ use Symfony\Contracts\EventDispatcher\Event; /** Dispatched when one or more users were renamed */ class UsersRenamedEvent extends Event { - const NAME = 'app.users.renamed'; + public const NAME = 'app.users.renamed'; /** @param UserRenameEvent[] $renames */ public function __construct(