Forgotten 'public' modifier added to event classes.
This commit is contained in:
parent
64855c5076
commit
cd908d33ee
|
@ -9,7 +9,7 @@ use Symfony\Contracts\EventDispatcher\Event;
|
||||||
/** Dispatched when user subscribers list was changed */
|
/** Dispatched when user subscribers list was changed */
|
||||||
class UserSubscribersUpdatedEvent extends Event
|
class UserSubscribersUpdatedEvent extends Event
|
||||||
{
|
{
|
||||||
const NAME = 'app.user.subscribers_updated';
|
public const NAME = 'app.user.subscribers_updated';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param User $user
|
* @param User $user
|
||||||
|
|
|
@ -9,7 +9,7 @@ use Symfony\Contracts\EventDispatcher\Event;
|
||||||
/** Dispatched when one or more users were renamed */
|
/** Dispatched when one or more users were renamed */
|
||||||
class UsersRenamedEvent extends Event
|
class UsersRenamedEvent extends Event
|
||||||
{
|
{
|
||||||
const NAME = 'app.users.renamed';
|
public const NAME = 'app.users.renamed';
|
||||||
|
|
||||||
/** @param UserRenameEvent[] $renames */
|
/** @param UserRenameEvent[] $renames */
|
||||||
public function __construct(
|
public function __construct(
|
||||||
|
|
Loading…
Reference in a new issue