Completed
Pull Request — master (#80)
by Jan Philipp
02:31
created
src/ScriptRuntime/ProcessExecutor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      */
173 173
     private function runProcess(Process $process)
174 174
     {
175
-        $process->run(function ($type, $response) {
175
+        $process->run(function($type, $response) {
176 176
             $this->logger->log(new LogMessage($response, $type === Process::ERR));
177 177
         });
178 178
     }
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
     {
243 243
         $deferredProcess = new DeferredProcess($command, $process);
244 244
 
245
-        $process->start(function ($type, $response) use ($deferredProcess) {
245
+        $process->start(function($type, $response) use ($deferredProcess) {
246 246
             $deferredProcess->log(new LogMessage($response, $type === Process::ERR));
247 247
         });
248 248
 
Please login to merge, or discard this patch.