Passed
Pull Request — master (#1)
by Rafal
01:36
created
src/Application/SpotifyWebApiPhp/SpotifyWebApi.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      * @param array $options
27 27
      * @return bool
28 28
      */
29
-    public function addUserPlaylistTracks(string $userId, string $playlistId, array $tracks, array $options = [])
29
+    public function addUserPlaylistTracks(string $userId, string $playlistId, array $tracks, array $options = [ ])
30 30
     {
31 31
         return $this->baseSpotifyWebAPI->addUserPlaylistTracks($userId, $playlistId, $tracks, $options);
32 32
     }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * @param array $options
50 50
      * @return array|object
51 51
      */
52
-    public function getUserPlaylist(string $userId, string $playlistId, array $options = [])
52
+    public function getUserPlaylist(string $userId, string $playlistId, array $options = [ ])
53 53
     {
54 54
         return $this->baseSpotifyWebAPI->getUserPlaylist($userId, $playlistId, $options);
55 55
     }
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @param array $options
60 60
      * @return array|object
61 61
      */
62
-    public function getUserPlaylists(string $userId, array $options = [])
62
+    public function getUserPlaylists(string $userId, array $options = [ ])
63 63
     {
64 64
         return $this->baseSpotifyWebAPI->getUserPlaylists($userId, $options);
65 65
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * @param array $options
70 70
      * @return array|object
71 71
      */
72
-    public function getPlaylistTracks(string $playlistId, array $options = []) : PlaylistTracksDataProvider
72
+    public function getPlaylistTracks(string $playlistId, array $options = [ ]) : PlaylistTracksDataProvider
73 73
     {
74 74
         $this->baseSpotifyWebAPI->setReturnType(Request::RETURN_ASSOC);
75 75
         $jsonObjectResult = $this->baseSpotifyWebAPI->getPlaylistTracks($playlistId, $options);
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * @param array $options
86 86
      * @return array|object
87 87
      */
88
-    public function search(string $query, array $type, array $options = [])
88
+    public function search(string $query, array $type, array $options = [ ])
89 89
     {
90 90
         return $this->baseSpotifyWebAPI->search($query, $type, $options);
91 91
     }
Please login to merge, or discard this patch.