PSR-2 fix

This commit is contained in:
Alex Bilbie 2013-04-30 14:33:30 +01:00
parent 85a53d7470
commit c73d45fc07

View File

@ -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']);
}