Skip to content

Commit 9818c7c

Browse files
authored
Support symfony 7.x for some components (#6357)
1 parent 87bad44 commit 9818c7c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"hyperf/support": "~3.1.0",
3030
"hyperf/tappable": "~3.1.0",
3131
"psr/event-dispatcher": "^1.0",
32-
"symfony/console": "^5.0|^6.0"
32+
"symfony/console": "^5.0|^6.0|^7.0"
3333
},
3434
"suggest": {
3535
"hyperf/di": "Required to use annotations.",

src/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ protected function configure()
161161
parent::configure();
162162
}
163163

164-
protected function execute(InputInterface $input, OutputInterface $output)
164+
protected function execute(InputInterface $input, OutputInterface $output): int
165165
{
166166
$this->disableDispatcher($input);
167167
$method = method_exists($this, 'handle') ? 'handle' : '__invoke';

0 commit comments

Comments
 (0)