Skip to content

Commit

Permalink
Update Command/Log: 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 67a1559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Command/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(
/**
* @return void
*/
protected function configure() {
protected function configure(): void {
$this
->setName('notify_push:log')
->setDescription('Temporarily set the log level of the push server')
Expand All @@ -52,7 +52,7 @@ protected function configure() {
parent::configure();
}

protected function execute(InputInterface $input, OutputInterface $output) {
protected function execute(InputInterface $input, OutputInterface $output): int {
$level = $input->getArgument("level");
if ($input->getOption("restore")) {
$output->writeln("restoring log level");
Expand Down

0 comments on commit 67a1559

Please sign in to comment.