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