Skip to content

Commit

Permalink
Merge pull request #379 from nextcloud/jr/command-reset-types
Browse files Browse the repository at this point in the history
Update Command/Reset: add type declarations
  • Loading branch information
icewind1991 authored Jan 17, 2024
2 parents 33dc3ec + 0c5d72b commit f091c75
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 f091c75

Please sign in to comment.