diff options
Diffstat (limited to 'core/Command/Broadcast/Test.php')
-rw-r--r-- | core/Command/Broadcast/Test.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/core/Command/Broadcast/Test.php b/core/Command/Broadcast/Test.php index fb80ce26ff0..eb8b49bc3ee 100644 --- a/core/Command/Broadcast/Test.php +++ b/core/Command/Broadcast/Test.php @@ -44,16 +44,11 @@ class Test extends Command { $uid = $input->getArgument('uid'); $event = new class($name, $uid) extends ABroadcastedEvent { - /** @var string */ - private $name; - /** @var string */ - private $uid; - - public function __construct(string $name, - string $uid) { + public function __construct( + private string $name, + private string $uid, + ) { parent::__construct(); - $this->name = $name; - $this->uid = $uid; } public function broadcastAs(): string { |