Completed
Pull Request — master (#53)
by Daniel
24:20
created
src/Command/ExecuteCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,9 +80,9 @@
 block discarded – undo
80 80
         $handler = $this->handlerFactory->create($execution->getHandlerClass());
81 81
 
82 82
         try {
83
-            $this->eventDispatcher->dispatch(new TaskEvent($execution->getTask()),Events::TASK_BEFORE);
83
+            $this->eventDispatcher->dispatch(new TaskEvent($execution->getTask()), Events::TASK_BEFORE);
84 84
             $result = $handler->handle($execution->getWorkload());
85
-            $this->eventDispatcher->dispatch(new TaskEvent($execution->getTask()),Events::TASK_BEFORE);
85
+            $this->eventDispatcher->dispatch(new TaskEvent($execution->getTask()), Events::TASK_BEFORE);
86 86
         } catch (\Exception $exception) {
87 87
             if ($exception instanceof FailedException) {
88 88
                 $errorOutput->writeln(FailedException::class);
Please login to merge, or discard this patch.