[TOOLS] Continue raising PHPStan level to 6
This commit is contained in:
@@ -45,11 +45,17 @@ class RefreshToken implements RefreshTokenRepositoryInterface
|
||||
DB::persist($refreshTokenEntity);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $tokenId
|
||||
*/
|
||||
public function revokeRefreshToken($tokenId)
|
||||
{
|
||||
// Some logic to revoke the auth token in a database
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $tokenId
|
||||
*/
|
||||
public function isRefreshtokenRevoked($tokenId): bool
|
||||
{
|
||||
return false; // The auth token has not been revoked
|
||||
|
Reference in New Issue
Block a user