Conditions | 2 |
Paths | 2 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
42 | protected function getClientRedirectUri(AuthorizationRequestInterface $authorizationRequest): string |
||
43 | { |
||
44 | return is_array($authorizationRequest->getClient()->getRedirectUri()) |
||
45 | ? $authorizationRequest->getClient()->getRedirectUri()[0] |
||
46 | : $authorizationRequest->getClient()->getRedirectUri(); |
||
47 | } |
||
49 |