| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 1 | public function __invoke(ServerRequestInterface $request): ResponseInterface |
|
| 29 | { |
||
| 30 | 1 | $queryParams = $request->getQueryParams(); |
|
| 31 | 1 | $rawUserId = isset($queryParams['id']) ? intval($queryParams['id']) : null; |
|
| 32 | 1 | return $this->responder->respond($this->useCase->run($rawUserId)); |
|
| 33 | } |
||
| 34 | } |