Passed
Pull Request — master (#1)
by Rafal
03:32
created
src/Application/SpotifyWebApiPhp/SpotifyWebApiInterface.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      * @param array $options
15 15
      * @return bool
16 16
      */
17
-    public function addUserPlaylistTracks(string $userId, string $playlistId, array $tracks, array $options = []);
17
+    public function addUserPlaylistTracks(string $userId, string $playlistId, array $tracks, array $options = [ ]);
18 18
 
19 19
     /**
20 20
      * @param string $userId
@@ -31,14 +31,14 @@  discard block
 block discarded – undo
31 31
      * @param array $options
32 32
      * @return object
33 33
      */
34
-    public function getUserPlaylist(string $userId, string $playlistId, array $options = []);
34
+    public function getUserPlaylist(string $userId, string $playlistId, array $options = [ ]);
35 35
 
36 36
     /**
37 37
      * @param string $userId
38 38
      * @param array $options
39 39
      * @return object
40 40
      */
41
-    public function getUserPlaylists(string $userId, array $options = []);
41
+    public function getUserPlaylists(string $userId, array $options = [ ]);
42 42
 
43 43
     /**
44 44
      * @param string $userId
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param array $options
47 47
      * @return object
48 48
      */
49
-    public function getPlaylistTracks(string $playlistId, array $options = []);
49
+    public function getPlaylistTracks(string $playlistId, array $options = [ ]);
50 50
 
51 51
     /**
52 52
      * @param string $query
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * @param array $options
55 55
      * @return object
56 56
      */
57
-    public function search(string $query, array $type, array $options = []);
57
+    public function search(string $query, array $type, array $options = [ ]);
58 58
 
59 59
     /**
60 60
      * @param string $accessToken
Please login to merge, or discard this patch.
src/Application/SpotifyWebApiPhp/SpotifyWebApi.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      * @param array $options
25 25
      * @return bool
26 26
      */
27
-    public function addUserPlaylistTracks(string $userId, string $playlistId, array $tracks, array $options = [])
27
+    public function addUserPlaylistTracks(string $userId, string $playlistId, array $tracks, array $options = [ ])
28 28
     {
29 29
         return $this->baseSpotifyWebAPI->addUserPlaylistTracks($userId, $playlistId, $tracks, $options);
30 30
     }
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * @param array $options
48 48
      * @return array|object
49 49
      */
50
-    public function getUserPlaylist(string $userId, string $playlistId, array $options = [])
50
+    public function getUserPlaylist(string $userId, string $playlistId, array $options = [ ])
51 51
     {
52 52
         return $this->baseSpotifyWebAPI->getUserPlaylist($userId, $playlistId, $options);
53 53
     }
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @param array $options
58 58
      * @return array|object
59 59
      */
60
-    public function getUserPlaylists(string $userId, array $options = [])
60
+    public function getUserPlaylists(string $userId, array $options = [ ])
61 61
     {
62 62
         return $this->baseSpotifyWebAPI->getUserPlaylists($userId, $options);
63 63
     }
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * @param array $options
68 68
      * @return array|object
69 69
      */
70
-    public function getPlaylistTracks(string $playlistId, array $options = [])
70
+    public function getPlaylistTracks(string $playlistId, array $options = [ ])
71 71
     {
72 72
         return $this->baseSpotifyWebAPI->getPlaylistTracks($playlistId, $options);
73 73
     }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * @param array $options
79 79
      * @return array|object
80 80
      */
81
-    public function search(string $query, array $type, array $options = [])
81
+    public function search(string $query, array $type, array $options = [ ])
82 82
     {
83 83
         return $this->baseSpotifyWebAPI->search($query, $type, $options);
84 84
     }
Please login to merge, or discard this patch.