We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87bad44 commit 9818c7cCopy full SHA for 9818c7c
2 files changed
composer.json
@@ -29,7 +29,7 @@
29
"hyperf/support": "~3.1.0",
30
"hyperf/tappable": "~3.1.0",
31
"psr/event-dispatcher": "^1.0",
32
- "symfony/console": "^5.0|^6.0"
+ "symfony/console": "^5.0|^6.0|^7.0"
33
},
34
"suggest": {
35
"hyperf/di": "Required to use annotations.",
src/Command.php
@@ -161,7 +161,7 @@ protected function configure()
161
parent::configure();
162
}
163
164
- protected function execute(InputInterface $input, OutputInterface $output)
+ protected function execute(InputInterface $input, OutputInterface $output): int
165
{
166
$this->disableDispatcher($input);
167
$method = method_exists($this, 'handle') ? 'handle' : '__invoke';
0 commit comments