@@ -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())); |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use SilverStripe\Core\Config\Config; |
6 | 6 | use SilverStripe\Core\Injector\Injector; |
7 | -use SilverStripe\Dev\BuildTask; |
|
8 | 7 | use Symfony\Component\Console\Command\Command; |
9 | -use Symfony\Component\Console\Input\InputArgument; |
|
10 | 8 | use Symfony\Component\Console\Input\InputInterface; |
11 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
12 | 10 | use Symfony\Component\Console\Question\Question; |