| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class Guzzle extends AbstractFactory |
||
| 14 | { |
||
| 15 | 3 | public function __construct() |
|
| 16 | { |
||
| 17 | try { |
||
| 18 | 3 | $this->streamFactory = $this->responseFactory = new HttpFactory(); |
|
| 19 | // @codeCoverageIgnoreStart |
||
| 20 | } catch (Throwable) { |
||
| 21 | throw new RuntimeException('Install guzzlehttp/psr7'); |
||
| 22 | // @codeCoverageIgnoreEnd |
||
| 23 | } |
||
| 24 | } |
||
| 25 | |||
| 26 | 2 | public function request(): ServerRequestInterface |
|
| 29 | } |
||
| 30 | } |
||
| 31 |