@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | return []; |
89 | 89 | } |
90 | 90 | |
91 | - return array_map(static function ($data) { |
|
91 | + return array_map(static function($data) { |
|
92 | 92 | return Setlist::fromApi($data); |
93 | 93 | }, $response['setlist']); |
94 | 94 | } |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | */ |
107 | 107 | public function getVenueSetlists(string $venueId, int $page = 1): array |
108 | 108 | { |
109 | - $response = $this->connection->call('venue/'.$venueId.'/setlists', [ |
|
109 | + $response = $this->connection->call('venue/'.$venueId.'/setlists', [ |
|
110 | 110 | 'p' => $page, |
111 | 111 | ]); |
112 | 112 | |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | return []; |
115 | 115 | } |
116 | 116 | |
117 | - return array_map(static function ($data) { |
|
117 | + return array_map(static function($data) { |
|
118 | 118 | return Setlist::fromApi($data); |
119 | 119 | }, $response['setlist']); |
120 | 120 | } |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | */ |
132 | 132 | public function search(SetlistSearchBuilder $builder): SetlistSearchResult |
133 | 133 | { |
134 | - $response= $this->connection->call('search/setlists', $builder->getQuery()); |
|
134 | + $response = $this->connection->call('search/setlists', $builder->getQuery()); |
|
135 | 135 | |
136 | 136 | if (!\array_key_exists('setlist', $response)) { |
137 | 137 | return SetlistSearchResult::createEmpty(); |
@@ -102,7 +102,7 @@ |
||
102 | 102 | { |
103 | 103 | return new self( |
104 | 104 | array_map( |
105 | - static function ($data) { |
|
105 | + static function($data) { |
|
106 | 106 | return City::fromApi($data); |
107 | 107 | }, |
108 | 108 | $response['cities'] |
@@ -102,7 +102,7 @@ |
||
102 | 102 | { |
103 | 103 | return new self( |
104 | 104 | array_map( |
105 | - static function ($data) { |
|
105 | + static function($data) { |
|
106 | 106 | return Venue::fromApi($data); |
107 | 107 | }, |
108 | 108 | $response['venue'] |
@@ -102,7 +102,7 @@ |
||
102 | 102 | { |
103 | 103 | return new self( |
104 | 104 | array_map( |
105 | - static function ($data) { |
|
105 | + static function($data) { |
|
106 | 106 | return Setlist::fromApi($data); |
107 | 107 | }, |
108 | 108 | $response['setlist'] |
@@ -102,7 +102,7 @@ |
||
102 | 102 | { |
103 | 103 | return new self( |
104 | 104 | array_map( |
105 | - static function ($data) { |
|
105 | + static function($data) { |
|
106 | 106 | return Country::fromApi($data); |
107 | 107 | }, |
108 | 108 | $response['country'] |
@@ -102,7 +102,7 @@ |
||
102 | 102 | { |
103 | 103 | return new self( |
104 | 104 | array_map( |
105 | - static function ($data) { |
|
105 | + static function($data) { |
|
106 | 106 | return Artist::fromApi($data); |
107 | 107 | }, |
108 | 108 | $response['artist'] |