Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
32 | public function request(string $method, string $uri, array $options = []): ResponseInterface |
||
33 | { |
||
34 | try { |
||
35 | return $this->guzzleHttpClient->request($method, $uri, $options); |
||
36 | } catch (GuzzleException $exception) { |
||
37 | throw new ComputopHttpRequestException( |
||
38 | $exception->getMessage(), |
||
39 | $exception->getCode(), |
||
40 | $exception |
||
41 | ); |
||
45 |