@@ -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; |
@@ -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())); |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | * Return the header cells for the output table. CMS classes have an extra column. |
| 56 | 56 | * |
| 57 | 57 | * @param bool $isCmsClass |
| 58 | - * @return array |
|
| 58 | + * @return string[] |
|
| 59 | 59 | */ |
| 60 | 60 | protected function getHeaders($isCmsClass) |
| 61 | 61 | { |