Passed
Push — master ( 7a3741...d28810 )
by Rafal
02:02
created
src/Application/SpotifyWebApiPhp/Session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      * @param array $options
12 12
      * @return string
13 13
      */
14
-    public function getAuthorizeUrl($options = []) : string
14
+    public function getAuthorizeUrl($options = [ ]) : string
15 15
     {
16 16
         return parent::getAuthorizeUrl($options);
17 17
     }
Please login to merge, or discard this patch.
src/Application/SpotifyWebApiPhp/SessionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
      * @param array $options
9 9
      * @return string
10 10
      */
11
-    public function getAuthorizeUrl($options = []): string;
11
+    public function getAuthorizeUrl($options = [ ]): string;
12 12
 
13 13
     /**
14 14
      * @return string
Please login to merge, or discard this patch.
src/Application/SpotifyApiAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      */
54 54
     public function getAccessByRefreshToken(string $refreshAccessToken) : string
55 55
     {
56
-        if( $this->session->refreshAccessToken($refreshAccessToken) !== true ) {
56
+        if ($this->session->refreshAccessToken($refreshAccessToken) !== true) {
57 57
             throw new \RuntimeException(Message::ERROR_GET_REFRESH_TOKEN_BY_CODE);
58 58
         }
59 59
         return $this->session->getAccessToken();
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
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 
8 8
 class SpotifyWebApi extends BaseSpotifyWebAPI implements SpotifyWebApiInterface
9 9
 {
10
-    public function addUserPlaylistTracks($userId, $playlistId, $tracks, $options = [])
10
+    public function addUserPlaylistTracks($userId, $playlistId, $tracks, $options = [ ])
11 11
     {
12 12
         return parent::addUserPlaylistTracks($userId, $playlistId, $tracks, $options);
13 13
     }
@@ -17,22 +17,22 @@  discard block
 block discarded – undo
17 17
         return parent::deleteUserPlaylistTracks($userId, $playlistId, $tracks, $snapshotId);
18 18
     }
19 19
 
20
-    public function getUserPlaylist($userId, $playlistId, $options = [])
20
+    public function getUserPlaylist($userId, $playlistId, $options = [ ])
21 21
     {
22 22
         return parent::getUserPlaylist($userId, $playlistId, $options);
23 23
     }
24 24
 
25
-    public function getUserPlaylists($userId, $options = [])
25
+    public function getUserPlaylists($userId, $options = [ ])
26 26
     {
27 27
         return parent::getUserPlaylists($userId, $options);
28 28
     }
29 29
 
30
-    public function getUserPlaylistTracks($userId, $playlistId, $options = [])
30
+    public function getUserPlaylistTracks($userId, $playlistId, $options = [ ])
31 31
     {
32 32
         return parent::getUserPlaylistTracks($userId, $playlistId, $options);
33 33
     }
34 34
 
35
-    public function search($query, $type, $options = [])
35
+    public function search($query, $type, $options = [ ])
36 36
     {
37 37
         return parent::search($query, $type, $options);
38 38
     }
Please login to merge, or discard this patch.