Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
christiaangoossens committed Apr 26, 2024
1 parent c91a304 commit 68486b7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/IdTokenResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ protected function getExtraParams(AccessTokenEntityInterface $accessToken): arra
*/
$scopes = $accessToken->getScopes();

$params = ['scope' => implode(' ', array_map(function ($value) {
return $value->getIdentifier();
}, $scopes))];
$params = [
'scope' => implode(' ', array_map(function ($value) {
return $value->getIdentifier();
}, $scopes)),
];

if (!$this->hasOpenIDScope(...$scopes)) {
return $params;
Expand Down

0 comments on commit 68486b7

Please sign in to comment.