From cfad629b86cb1c04a569cb51c80def81aec7b3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pflamm?= Date: Tue, 12 Nov 2024 15:59:57 +0100 Subject: [PATCH] Add return type hint to doRun method This change adds an integer return type hint to the doRun method in the Application class. This ensures the declaration is compatible with the symfony console input interface. --- src/Console/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Application.php b/src/Console/Application.php index c86a1f20..d777d4e1 100644 --- a/src/Console/Application.php +++ b/src/Console/Application.php @@ -77,7 +77,7 @@ protected function getDefaultInputDefinition(): Console\Input\InputDefinition return $inputDefinition; } - public function doRun(Console\Input\InputInterface $input, Console\Output\OutputInterface $output) + public function doRun(Console\Input\InputInterface $input, Console\Output\OutputInterface $output): int { $this->input = $input;