From c73d45fc07032c5260b766cf451109b6454e0c74 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Tue, 30 Apr 2013 14:33:30 +0100 Subject: [PATCH] PSR-2 fix --- src/OAuth2/Grant/Password.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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']); }