Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
54 | private function addAuthQueryParams(RequestInterface $request): RequestInterface |
||
55 | { |
||
56 | parse_str($request->getUri()->getQuery(), $params); |
||
57 | $params['nonce'] = $this->nonce; |
||
58 | $params['apikey'] = $this->key; |
||
59 | $uri = $request->getUri()->withQuery(http_build_query($params)); |
||
60 | |||
61 | return $request->withUri($uri); |
||
62 | } |
||
63 | |||
73 |