@@ -46,7 +46,7 @@ |
||
46 | 46 | $dispatcher = new EventDispatcher(); |
47 | 47 | $this->setDispatcher($dispatcher); |
48 | 48 | |
49 | - $dispatcher->addListener(ConsoleEvents::EXCEPTION, function (ConsoleExceptionEvent $event) { |
|
49 | + $dispatcher->addListener(ConsoleEvents::EXCEPTION, function(ConsoleExceptionEvent $event) { |
|
50 | 50 | $output = $event->getOutput(); |
51 | 51 | $command = $event->getCommand(); |
52 | 52 | $output->writeln(sprintf('Oops, exception thrown while running command <info>%s</info>', $command->getName())); |