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 8e98688 commit 62d570eCopy full SHA for 62d570e
src/Illuminate/Console/Command.php
@@ -168,7 +168,7 @@ protected function configureIsolation()
168
*/
169
public function run(InputInterface $input, OutputInterface $output): int
170
{
171
- $this->output = $this->laravel->make(
+ $this->output = $output instanceof OutputStyle ? $output : $this->laravel->make(
172
OutputStyle::class, ['input' => $input, 'output' => $output]
173
);
174
0 commit comments