Skip to content

Commit 163834b

Browse files
committed
Remove redundant code
1 parent 246782c commit 163834b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Grant/RefreshTokenGrant.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ public function respondToAccessTokenRequest(
8383
}
8484

8585
// Issue and persist new access token
86-
$userId = $oldRefreshToken['user_id'];
87-
if (is_int($userId)) {
88-
$userId = (string) $userId;
89-
}
9086
$accessToken = $this->issueAccessToken($accessTokenTTL, $client, $userId, $scopes);
9187
$this->getEmitter()->emit(new RequestAccessTokenEvent(RequestEvent::ACCESS_TOKEN_ISSUED, $request, $accessToken));
9288
$responseType->setAccessToken($accessToken);

0 commit comments

Comments
 (0)