Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
85 | 1 | public function get($request, array $params = []) |
|
86 | { |
||
87 | 1 | $options = $this->configurator->withRequest($request, $params)->getOptions(); |
|
88 | 1 | $response = $this->client->request('GET', $this->url, $options); |
|
89 | |||
90 | 1 | return $this->repair->repair(gzdecode($response->getBody())); // repair |
|
91 | } |
||
92 | } |
||
93 |