Completed
Push — master ( 95c032...b17f21 )
by PROSPER
04:43 queued 01:50
created
app/Http/Controllers/LastFmController.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
      */
49 49
     private function getArtistInfo()
50 50
     {
51
-        $result = (array)$this->lastfm->artist_getInfo(['artist' => 'The Pierces']);
51
+        $result = (array) $this->lastfm->artist_getInfo([ 'artist' => 'The Pierces' ]);
52 52
 
53
-        return $result['artist'];
53
+        return $result[ 'artist' ];
54 54
     }
55 55
 
56 56
     /**
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
      */
60 60
     private function getTopAlbums()
61 61
     {
62
-        $result = (array)$this->lastfm->artist_getTopAlbums(['artist' => 'The Pierces']);
62
+        $result = (array) $this->lastfm->artist_getTopAlbums([ 'artist' => 'The Pierces' ]);
63 63
 
64
-        return $result['topalbums']->album;
64
+        return $result[ 'topalbums' ]->album;
65 65
     }
66 66
 
67 67
     /**
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
      */
71 71
     private function getTopTracks()
72 72
     {
73
-        $result = (array)$this->lastfm->artist_getTopTracks(['artist' => 'The Pierces']);
73
+        $result = (array) $this->lastfm->artist_getTopTracks([ 'artist' => 'The Pierces' ]);
74 74
 
75
-        return $result['toptracks']->track;
75
+        return $result[ 'toptracks' ]->track;
76 76
     }
77 77
 }
Please login to merge, or discard this patch.