Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
17 | 4 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
18 | { |
||
19 | 4 | $response = $handler->handle($request); |
|
20 | 4 | $server = $request->getServerParams(); |
|
21 | |||
22 | 4 | return $response->withHeader(self::HEADER, $this->getServerId($server)); |
|
23 | } |
||
25 |