Conditions | 2 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
49 | public function research(RequestInterface $request) |
||
50 | { |
||
51 | try { |
||
52 | $response = $this->httpClient->request('GET', |
||
53 | Uri::withQueryValue($request->getUri(), |
||
54 | 'apikey', |
||
55 | $this->apiKey)); |
||
56 | return new Response($response); |
||
57 | } catch (\GuzzleHttp\Exception\ClientException $ex) { |
||
58 | throw ExceptionFactory::createThrowable($ex); |
||
59 | } |
||
60 | } |
||
61 | } |
||
62 |