@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * Get the BuildTask functionality as a closure |
| 62 | 62 | * |
| 63 | 63 | * @param SilverStripeCommand $command |
| 64 | - * @return Closure |
|
| 64 | + * @return \Closure |
|
| 65 | 65 | */ |
| 66 | 66 | public function getTaskAsClosure(SilverStripeCommand $command) |
| 67 | 67 | { |
@@ -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())); |