| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 50% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class Psr7Request extends Endpoint |
||
| 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); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Determine whether the JSON source can be handled |
||
| 27 | * |
||
| 28 | * @return bool |
||
| 29 | */ |
||
| 30 | 1 | public function matches(): bool |
|
| 33 | } |
||
| 34 | } |
||
| 35 |