Skip to content

Commit

Permalink
Merge pull request #380 from nextcloud/jr/command-log-types
Browse files Browse the repository at this point in the history
Update Command/Log: add type declarations
  • Loading branch information
icewind1991 authored Jan 17, 2024
2 parents 3b2657b + 67a1559 commit deffbee
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 deffbee

Please sign in to comment.