| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class Nyholm extends AbstractFactory |
||
| 14 | { |
||
| 15 | protected Psr17Factory $factory; |
||
| 16 | |||
| 17 | 67 | public function __construct() |
|
| 18 | { |
||
| 19 | try { |
||
| 20 | 67 | $this->factory = $this->streamFactory = $this->responseFactory = new Psr17Factory(); |
|
| 21 | // @codeCoverageIgnoreStart |
||
| 22 | } catch (Throwable) { |
||
| 23 | throw new RuntimeException('Install laminas/laminas-diactoros'); |
||
| 24 | // @codeCoverageIgnoreEnd |
||
| 25 | } |
||
| 26 | } |
||
| 27 | |||
| 28 | 9 | public function request(): ServerRequestInterface |
|
| 38 | } |
||
| 39 | } |
||
| 40 |