@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | if (true === $withProfiles) { |
| 65 | 65 | $queryData[] = 'with-profiles'; |
| 66 | 66 | } |
| 67 | - $response = $this->client->getBaseClient()->get('/assets' . $this->buildQuery($queryData)); |
|
| 67 | + $response = $this->client->getBaseClient()->get('/assets'.$this->buildQuery($queryData)); |
|
| 68 | 68 | |
| 69 | 69 | return $this->transformer->transform($response); |
| 70 | 70 | } |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | */ |
| 77 | 77 | public function getProfileBySymbol(string $symbol): array |
| 78 | 78 | { |
| 79 | - $response = $this->client->getBaseClient()->get('/assets/' . strtolower($symbol) . '/profile'); |
|
| 79 | + $response = $this->client->getBaseClient()->get('/assets/'.strtolower($symbol).'/profile'); |
|
| 80 | 80 | |
| 81 | 81 | return $this->transformer->transform($response); |
| 82 | 82 | } |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | public function getMetricsBySymbol(string $symbol): array |
| 90 | 90 | { |
| 91 | - $response = $this->client->getBaseClient()->get('/assets/' . strtolower($symbol) . '/metrics'); |
|
| 91 | + $response = $this->client->getBaseClient()->get('/assets/'.strtolower($symbol).'/metrics'); |
|
| 92 | 92 | |
| 93 | 93 | return $this->transformer->transform($response); |
| 94 | 94 | } |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | */ |
| 112 | 112 | public function getNewsBySymbol(string $symbol): array |
| 113 | 113 | { |
| 114 | - $response = $this->client->getBaseClient()->get('/news/' . strtolower($symbol)); |
|
| 114 | + $response = $this->client->getBaseClient()->get('/news/'.strtolower($symbol)); |
|
| 115 | 115 | |
| 116 | 116 | return $this->transformer->transform($response); |
| 117 | 117 | } |
@@ -126,6 +126,6 @@ discard block |
||
| 126 | 126 | return ''; |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | - return '?' . implode('&', $queryData); |
|
| 129 | + return '?'.implode('&', $queryData); |
|
| 130 | 130 | } |
| 131 | 131 | } |