| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 18 | trait Psr18ClientTrait |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Sends a PSR-7 request and returns a PSR-7 response. |
||
| 22 | * |
||
| 23 | * @param RequestInterface $request |
||
| 24 | * @return ResponseInterface |
||
| 25 | * @throws \Psr\Http\Client\ClientExceptionInterface If an error happens while processing the request. |
||
| 26 | */ |
||
| 27 | public function sendRequest(RequestInterface $request): ResponseInterface |
||
| 46 |