We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c52a69 commit cece4efCopy full SHA for cece4ef
src/RefreshTokenRepository.php
@@ -52,11 +52,11 @@ public function revokeRefreshToken($id)
52
* Revokes refresh tokens by access token id.
53
*
54
* @param string $tokenId
55
- * @return void
+ * @return mixed
56
*/
57
public function revokeRefreshTokensByAccessTokenId($tokenId)
58
{
59
- Passport::refreshToken()->where('access_token_id', $tokenId)->update(['revoked' => true]);
+ return Passport::refreshToken()->where('access_token_id', $tokenId)->update(['revoked' => true]);
60
}
61
62
/**
0 commit comments