| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 7 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 30 | public function format(Response $deferredResponse): ResponseInterface  | 
            ||
| 31 |     { | 
            ||
| 32 | $content = $this->jsonSerializer->serialize($deferredResponse->getData());  | 
            ||
| 33 | $response = $deferredResponse->getResponse();  | 
            ||
| 34 | $response->getBody()->write($content);  | 
            ||
| 35 | |||
| 36 |         return $response->withHeader('Content-Type', $this->contentType); | 
            ||
| 37 | }  | 
            ||
| 39 |