@@ -65,7 +65,7 @@ |
||
| 65 | 65 | */ |
| 66 | 66 | public function getTaskAsClosure(SilverStripeCommand $command) |
| 67 | 67 | { |
| 68 | - return function (InputInterface $input, OutputInterface $output) use ($command) { |
|
| 68 | + return function(InputInterface $input, OutputInterface $output) use ($command) { |
|
| 69 | 69 | $io = new SymfonyStyle($input, $output); |
| 70 | 70 | |
| 71 | 71 | $io->title(sprintf('%s: %s', $command->getName(), $command->getDescription())); |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | return; |
| 43 | 43 | } |
| 44 | 44 | sort($classes); |
| 45 | - $rows = array_map(function ($class) { |
|
| 45 | + $rows = array_map(function($class) { |
|
| 46 | 46 | return [$class]; |
| 47 | 47 | }, $classes); |
| 48 | 48 | |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | $this->isInstanceOf(InputInterface::class), |
| 103 | 103 | $this->isInstanceOf(OutputInterface::class), |
| 104 | 104 | $this->callback( |
| 105 | - function ($argument) { |
|
| 105 | + function($argument) { |
|
| 106 | 106 | return $argument instanceof ChoiceQuestion |
| 107 | 107 | && $argument->isMultiselect() |
| 108 | 108 | && !empty($argument->getChoices()); |