Skip to content

Commit

Permalink
Merge pull request #187 from owncloud/symfony-command-execute-int
Browse files Browse the repository at this point in the history
Always return an int from Symfony Command execute method
  • Loading branch information
phil-davis authored May 18, 2023
2 parents f4b7635 + b586755 commit dc9138f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Command/ConfigReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected function configure() {
->setDescription('generates a configreport');
}

protected function execute(InputInterface $input, OutputInterface $output) {
protected function execute(InputInterface $input, OutputInterface $output): int {
$report = $this->reportDataCollector->getReportJson();
$output->writeln($report);
return 0;
Expand Down

0 comments on commit dc9138f

Please sign in to comment.