Completed
Push — feature/test-commands ( 5e2e6d...1cce6e )
by Oguzhan
02:23
created
src/Service/Spotify/Endpoint/Track.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Command/SearchSpotifyTrackCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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(),
Please login to merge, or discard this patch.