@@ -19,10 +19,10 @@ |
||
| 19 | 19 | namespace Phpoaipmh\Example; |
| 20 | 20 | |
| 21 | 21 | use Symfony\Component\Console\Command\Command; |
| 22 | +use Symfony\Component\Console\Helper\Table; |
|
| 22 | 23 | use Symfony\Component\Console\Input\InputInterface; |
| 23 | 24 | use Symfony\Component\Console\Input\InputOption; |
| 24 | 25 | use Symfony\Component\Console\Output\OutputInterface; |
| 25 | -use Symfony\Component\Console\Helper\Table; |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * A symfony 2 console command. |
@@ -53,8 +53,8 @@ discard block |
||
| 53 | 53 | */ |
| 54 | 54 | public function __construct(Example $example) |
| 55 | 55 | { |
| 56 | - $this->example = $example; |
|
| 57 | - parent::__construct(); |
|
| 56 | + $this->example = $example; |
|
| 57 | + parent::__construct(); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
@@ -79,8 +79,8 @@ discard block |
||
| 79 | 79 | $data = $this->example->getBasicInformation(); |
| 80 | 80 | $output->writeln("Basic information: "); |
| 81 | 81 | foreach ($data as $key => $value) { |
| 82 | - $line = $formatter->formatSection($key, $value); |
|
| 83 | - $output->writeln($line); |
|
| 82 | + $line = $formatter->formatSection($key, $value); |
|
| 83 | + $output->writeln($line); |
|
| 84 | 84 | } |
| 85 | 85 | } |
| 86 | 86 | |