Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class LaravelClientRequest extends Psr7Request |
||
14 | { |
||
15 | /** |
||
16 | * Retrieve the fetched HTTP response |
||
17 | * |
||
18 | * @return ResponseInterface |
||
19 | */ |
||
20 | protected function fetchResponse(): ResponseInterface |
||
21 | { |
||
22 | return $this->sendRequest($this->source->toPsrRequest()); |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Determine whether the JSON source can be handled |
||
27 | * |
||
28 | * @return bool |
||
29 | */ |
||
30 | public function matches(): bool |
||
33 | } |
||
34 | } |
||
35 |