@@ -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())); |
@@ -53,11 +53,11 @@ |
||
| 53 | 53 | |
| 54 | 54 | protected function getRecursive() |
| 55 | 55 | { |
| 56 | - $options = $this->getOptions(); |
|
| 57 | - if (isset($options['recursive']) && boolval($options['recursive'])) { |
|
| 58 | - return ' -fr'; |
|
| 59 | - } |
|
| 56 | + $options = $this->getOptions(); |
|
| 57 | + if (isset($options['recursive']) && boolval($options['recursive'])) { |
|
| 58 | + return ' -fr'; |
|
| 59 | + } |
|
| 60 | 60 | |
| 61 | - return ''; |
|
| 61 | + return ''; |
|
| 62 | 62 | } |
| 63 | 63 | } |