Skip to content

Commit

Permalink
Update Command/Reset: add type declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Josh <[email protected]>
  • Loading branch information
joshtrichards authored Jan 17, 2024
1 parent 33dc3ec commit 0c5d72b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Command/Reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0c5d72b

Please sign in to comment.