diff --git a/src/OAuth2/Grant/Password.php b/src/OAuth2/Grant/Password.php index 23965d40..4f95acfc 100644 --- a/src/OAuth2/Grant/Password.php +++ b/src/OAuth2/Grant/Password.php @@ -184,8 +184,7 @@ class Password implements GrantTypeInterface { $accessTokenId = $this->authServer->getStorage('session')->associateAccessToken($sessionId, $accessToken, $accessTokenExpires); // Associate scopes with the access token - foreach ($authParams['scopes'] as $scope) - { + foreach ($authParams['scopes'] as $scope) { $this->authServer->getStorage('session')->associateScope($accessTokenId, $scope['id']); }