@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | { |
22 | 22 | $this->client = $client; |
23 | 23 | |
24 | - if(filter_var($endpoint, FILTER_VALIDATE_URL)) { |
|
24 | + if (filter_var($endpoint, FILTER_VALIDATE_URL)) { |
|
25 | 25 | $this->endpoint = $endpoint; |
26 | 26 | } |
27 | 27 | } |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public function call($path, array $params = array(), array $options = array(), $isAuthRequired = false, $returnArray = false) |
42 | 42 | { |
43 | - if($options['user-agent'] == '') { |
|
43 | + if ($options['user-agent'] == '') { |
|
44 | 44 | throw new Exception('You must set a valid User Agent before accessing the MusicBrainz API'); |
45 | 45 | } |
46 | 46 |