| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 7 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 22 | public function format(WebResponse $webResponse): ResponseInterface  | 
            ||
| 23 |     { | 
            ||
| 24 | $data = $webResponse->getData();  | 
            ||
| 25 | $response = $webResponse->getResponse();  | 
            ||
| 26 | $response->getBody()->write((string)$data);  | 
            ||
| 27 | |||
| 28 |         return $response->withHeader('Content-Type', $this->contentType . '; charset=' . $this->encoding); | 
            ||
| 29 | }  | 
            ||
| 36 |