| Conditions | 3 | 
| Paths | 2 | 
| Total Lines | 8 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 21 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface | ||
| 22 |     { | ||
| 23 | $response = $handler->handle($request); | ||
| 24 |         if ($response instanceof Response && !$response->hasResponseFormatter()) { | ||
| 25 | $response = $response->withResponseFormatter($this->responseFormatter); | ||
| 26 | } | ||
| 27 | |||
| 28 | return $response; | ||
| 29 | } | ||
| 31 |