@@ -123,7 +123,7 @@ |
||
| 123 | 123 | */ |
| 124 | 124 | public function getById($id) |
| 125 | 125 | { |
| 126 | - return $this->getParent()->getApiClient()->getTrack($id);; |
|
| 126 | + return $this->getParent()->getApiClient()->getTrack($id); ; |
|
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | /** |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | protected function execute(InputInterface $input, OutputInterface $output) |
| 40 | 40 | { |
| 41 | 41 | $artist = $input->getArgument('artist'); |
| 42 | - if(!$artist) { |
|
| 42 | + if (!$artist) { |
|
| 43 | 43 | throw new \InvalidArgumentException('Artist missing'); |
| 44 | 44 | } |
| 45 | 45 | |
@@ -47,13 +47,13 @@ discard block |
||
| 47 | 47 | |
| 48 | 48 | $table = new Table($output); |
| 49 | 49 | $table |
| 50 | - ->setHeaders(['ID','Artist']); |
|
| 50 | + ->setHeaders(['ID', 'Artist']); |
|
| 51 | 51 | |
| 52 | - if(!$result) { |
|
| 52 | + if (!$result) { |
|
| 53 | 53 | $output->writeln('No results'); |
| 54 | 54 | } else { |
| 55 | 55 | /** @var Artist $artist */ |
| 56 | - foreach($result as $artist) { |
|
| 56 | + foreach ($result as $artist) { |
|
| 57 | 57 | $table |
| 58 | 58 | ->addRow([ |
| 59 | 59 | $artist->getId(), |