@@ -209,7 +209,7 @@ |
||
209 | 209 | * @param \Closure $closure |
210 | 210 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
211 | 211 | * |
212 | - * @return mixed |
|
212 | + * @return OutputInterface |
|
213 | 213 | */ |
214 | 214 | private function runScoped(\Closure $closure, OutputInterface $output) |
215 | 215 | { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | //Let's keep output reference to render exceptions |
103 | 103 | $this->output = $output ?? new ConsoleOutput(); |
104 | 104 | |
105 | - $this->runScoped(function () use ($input) { |
|
105 | + $this->runScoped(function() use ($input) { |
|
106 | 106 | $this->consoleApplication()->run($input, $this->output); |
107 | 107 | }, $this->output); |
108 | 108 | } |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | |
132 | 132 | $output = $output ?? new BufferedOutput(); |
133 | 133 | |
134 | - $code = $this->runScoped(function () use ($input, $output, $command) { |
|
134 | + $code = $this->runScoped(function() use ($input, $output, $command) { |
|
135 | 135 | $this->consoleApplication()->find($command)->run($input, $output); |
136 | 136 | }, $output); |
137 | 137 |