Forgotten 'public' modifier added to event classes.

This commit is contained in:
Alexey Skobkin 2023-03-19 19:22:33 +03:00
parent 64855c5076
commit cd908d33ee
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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(