| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | 1 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
| 43 | { |
||
| 44 | 1 | $queryParams = $request->getQueryParams(); |
|
| 45 | 1 | $rawUserId = isset($queryParams['id']) ? intval($queryParams['id']) : null; |
|
| 46 | 1 | return $this->responder->respond($this->useCase->run($rawUserId)); |
|
| 47 | } |
||
| 48 | } |
||
| 49 |