diff --git a/src/RefreshTokenRepository.php b/src/RefreshTokenRepository.php index ded3b0a85..bca0269e3 100644 --- a/src/RefreshTokenRepository.php +++ b/src/RefreshTokenRepository.php @@ -52,11 +52,11 @@ public function revokeRefreshToken($id) * Revokes refresh tokens by access token id. * * @param string $tokenId - * @return void + * @return mixed */ public function revokeRefreshTokensByAccessTokenId($tokenId) { - Passport::refreshToken()->where('access_token_id', $tokenId)->update(['revoked' => true]); + return Passport::refreshToken()->where('access_token_id', $tokenId)->update(['revoked' => true]); } /**