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(