From b586755a115cab1773ebdc70d9900015b7ea66eb Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 18 May 2023 15:03:57 +0545 Subject: [PATCH] Always return an int from Symfony Command execute method --- lib/Command/ConfigReport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Command/ConfigReport.php b/lib/Command/ConfigReport.php index c5f2b80..f31f193 100644 --- a/lib/Command/ConfigReport.php +++ b/lib/Command/ConfigReport.php @@ -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;