Completed
Branch 09branch (0b333e)
by Anton
02:57
created
source/Spiral/Console/ConsoleDispatcher.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.