@@ -14,7 +14,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 46 | 46 | * @param array $options |
| 47 | 47 | * @return object |
| 48 | 48 | */ |
| 49 | - public function getUserPlaylistTracks(string $userId, $playlistId, array $options = []); |
|
| 49 | + public function getUserPlaylistTracks(string $userId, $playlistId, array $options = [ ]); |
|
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * @param string $query |
@@ -54,7 +54,7 @@ discard block |
||
| 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 |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * @param array $options |
| 27 | 27 | * @return string |
| 28 | 28 | */ |
| 29 | - public function getAuthorizeUrl(array $options = []) : string |
|
| 29 | + public function getAuthorizeUrl(array $options = [ ]) : string |
|
| 30 | 30 | { |
| 31 | 31 | return $this->baseSession->getAuthorizeUrl($options); |
| 32 | 32 | } |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * @param array $options |
| 10 | 10 | * @return string |
| 11 | 11 | */ |
| 12 | - public function getAuthorizeUrl(array $options = []): string; |
|
| 12 | + public function getAuthorizeUrl(array $options = [ ]): string; |
|
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * @param string $authorizationCode |
@@ -24,7 +24,7 @@ discard block |
||
| 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 |
||
| 47 | 47 | * @param array $options |
| 48 | 48 | * @return 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 |
||
| 57 | 57 | * @param array $options |
| 58 | 58 | * @return 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 | } |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * @param array $options |
| 69 | 69 | * @return object |
| 70 | 70 | */ |
| 71 | - public function getUserPlaylistTracks(string $userId, $playlistId, array $options = []) |
|
| 71 | + public function getUserPlaylistTracks(string $userId, $playlistId, array $options = [ ]) |
|
| 72 | 72 | { |
| 73 | 73 | return $this->baseSpotifyWebAPI->getUserPlaylistTracks($userId, $playlistId, $options); |
| 74 | 74 | } |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | * @param array $options |
| 80 | 80 | * @return object |
| 81 | 81 | */ |
| 82 | - public function search(string $query, array $type, array $options = []) |
|
| 82 | + public function search(string $query, array $type, array $options = [ ]) |
|
| 83 | 83 | { |
| 84 | 84 | return $this->baseSpotifyWebAPI->search($query, $type, $options); |
| 85 | 85 | } |