mirror of
https://github.com/symfony/console.git
synced 2026-03-24 01:12:13 +01:00
Merge branch '8.0' into 8.1
* 8.0: Fix merge
This commit is contained in:
@@ -101,8 +101,10 @@ class ApplicationTesterTest extends TestCase
|
||||
$application = new Application();
|
||||
$application->setAutoExit(false);
|
||||
$application->register('foo')
|
||||
->setCode(static function ($input, $output) {
|
||||
->setCode(static function (InputInterface $input, OutputInterface $output): int {
|
||||
$output->writeln('foo');
|
||||
|
||||
return 0;
|
||||
})
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user