| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function generateHttpResponse(ResponseInterface $response): ResponseInterface |
||
| 28 | { |
||
| 29 | $response = $response |
||
| 30 | ->withStatus(200) |
||
| 31 | ->withHeader('pragma', 'no-cache') |
||
| 32 | ->withHeader('cache-control', 'no-store') |
||
| 33 | ->withHeader('content-type', 'application/json; charset=UTF-8'); |
||
| 34 | |||
| 35 | $response->getBody()->write(json_encode($this->claimSet->getClaims())); |
||
| 36 | |||
| 37 | return $response; |
||
|
|
|||
| 38 | } |
||
| 40 |