Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
19 | public function createRequest( |
||
20 | RequestInterface $request, |
||
21 | OpenIDClient $client, |
||
22 | array $claims |
||
23 | ): RequestInterface { |
||
24 | $params = array_merge(['client_id' => $client->getMetadata()->getClientId()], $claims); |
||
25 | $request->getBody()->write(http_build_query($params)); |
||
26 | |||
27 | return $request; |
||
28 | } |
||
29 | } |
||
30 |