From 0c5d72b5f8d967ca19dd847b0d77dc03d1ca8bfc Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 17 Jan 2024 10:57:54 -0500 Subject: [PATCH] Update Command/Reset: add type declarations Signed-off-by: Josh --- lib/Command/Reset.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Command/Reset.php b/lib/Command/Reset.php index b7f2911f..c3665c25 100644 --- a/lib/Command/Reset.php +++ b/lib/Command/Reset.php @@ -41,14 +41,14 @@ public function __construct( /** * @return void */ - protected function configure() { + protected function configure(): void { $this ->setName('notify_push:reset') ->setDescription('Cancel all active connections to the push server'); parent::configure(); } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $this->queue->push("notify_signal", "reset"); return 0; }