| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | public function graphql(ServerRequestInterface $request): ResponseInterface |
||
| 21 | { |
||
| 22 | $response = $this->responseFactory->createResponse(); |
||
| 23 | $stream = $this->streamFactory->createStream(); |
||
| 24 | |||
| 25 | $response = $this->server->processPsrRequest($request, $response, $stream); |
||
| 26 | assert($response instanceof ResponseInterface); |
||
| 27 | |||
| 28 | return $response; |
||
| 29 | } |
||
| 31 |