| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 7 | final class Tuple |
||
| 8 | { |
||
| 9 | /** @var RequestInterface */ |
||
| 10 | private $request; |
||
| 11 | |||
| 12 | /** @var ?ResponseInterface */ |
||
| 13 | private $response; |
||
| 14 | |||
| 15 | public function __construct(RequestInterface $request, ?ResponseInterface $response) |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getRequest(): RequestInterface |
||
| 22 | { |
||
| 23 | return $this->request; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getResponse(): ?ResponseInterface |
||
| 29 | } |
||
| 30 | } |
||
| 31 |