From e0d630c99bb0d3b9b6d99186690e1b2ff0e608b6 Mon Sep 17 00:00:00 2001 From: Stephen Sigwart Date: Thu, 8 Aug 2024 09:30:53 -0400 Subject: [PATCH] Fix coding style --- src/Grant/RefreshTokenGrant.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Grant/RefreshTokenGrant.php b/src/Grant/RefreshTokenGrant.php index 3a9516097..f0488d3d8 100644 --- a/src/Grant/RefreshTokenGrant.php +++ b/src/Grant/RefreshTokenGrant.php @@ -79,8 +79,9 @@ public function respondToAccessTokenRequest( // Issue and persist new access token $userId = $oldRefreshToken['user_id']; - if (is_int($userId)) + if (is_int($userId)) { $userId = (string)$userId; + } $accessToken = $this->issueAccessToken($accessTokenTTL, $client, $userId, $scopes); $this->getEmitter()->emit(new RequestAccessTokenEvent(RequestEvent::ACCESS_TOKEN_ISSUED, $request, $accessToken)); $responseType->setAccessToken($accessToken);