From e8d43f208768fb75f2fc51d6b5e030f28cf043d3 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 1 Feb 2013 15:59:50 +0000 Subject: [PATCH] Anal restyle --- src/OAuth2/Grant/AuthCode.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/OAuth2/Grant/AuthCode.php b/src/OAuth2/Grant/AuthCode.php index 9ac86911..758611e3 100644 --- a/src/OAuth2/Grant/AuthCode.php +++ b/src/OAuth2/Grant/AuthCode.php @@ -83,9 +83,7 @@ class AuthCode implements GrantTypeInterface { // remove the authorisation code, change the stage to 'granted' $accessToken = SecureKey::make(); - $refreshToken = (AuthServer::hasGrantType('refresh_token')) ? - SecureKey::make() : - null; + $refreshToken = (AuthServer::hasGrantType('refresh_token')) ? SecureKey::make() : null; $accessTokenExpires = time() + AuthServer::getExpiresIn(); $accessTokenExpiresIn = AuthServer::getExpiresIn();