Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
21 | 5 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
22 | { |
||
23 | 5 | $request = $request->withQueryParams($this->sanitizeDomainFromPayload($request->getQueryParams())) |
|
24 | 5 | ->withParsedBody($this->sanitizeDomainFromPayload($request->getParsedBody())); |
|
|
|||
25 | |||
26 | 5 | return $handler->handle($request); |
|
27 | } |
||
38 |