mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Merge pull request #517 from thephpleague/analysis-8L3eKK
Applied fixes from StyleCI
This commit is contained in:
@@ -10,7 +10,7 @@ use OAuth2ServerExamples\Entities\AccessTokenEntity;
|
|||||||
class AccessTokenRepository implements AccessTokenRepositoryInterface
|
class AccessTokenRepository implements AccessTokenRepositoryInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity)
|
public function persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity)
|
||||||
{
|
{
|
||||||
@@ -18,7 +18,7 @@ class AccessTokenRepository implements AccessTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function revokeAccessToken($tokenId)
|
public function revokeAccessToken($tokenId)
|
||||||
{
|
{
|
||||||
@@ -26,7 +26,7 @@ class AccessTokenRepository implements AccessTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function isAccessTokenRevoked($tokenId)
|
public function isAccessTokenRevoked($tokenId)
|
||||||
{
|
{
|
||||||
@@ -34,7 +34,7 @@ class AccessTokenRepository implements AccessTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null)
|
public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null)
|
||||||
{
|
{
|
||||||
|
@@ -9,7 +9,7 @@ use OAuth2ServerExamples\Entities\AuthCodeEntity;
|
|||||||
class AuthCodeRepository implements AuthCodeRepositoryInterface
|
class AuthCodeRepository implements AuthCodeRepositoryInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)
|
public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)
|
||||||
{
|
{
|
||||||
@@ -17,7 +17,7 @@ class AuthCodeRepository implements AuthCodeRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function revokeAuthCode($codeId)
|
public function revokeAuthCode($codeId)
|
||||||
{
|
{
|
||||||
@@ -25,7 +25,7 @@ class AuthCodeRepository implements AuthCodeRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function isAuthCodeRevoked($codeId)
|
public function isAuthCodeRevoked($codeId)
|
||||||
{
|
{
|
||||||
@@ -33,7 +33,7 @@ class AuthCodeRepository implements AuthCodeRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getNewAuthCode()
|
public function getNewAuthCode()
|
||||||
{
|
{
|
||||||
|
@@ -9,7 +9,7 @@ use OAuth2ServerExamples\Entities\RefreshTokenEntity;
|
|||||||
class RefreshTokenRepository implements RefreshTokenRepositoryInterface
|
class RefreshTokenRepository implements RefreshTokenRepositoryInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function persistNewRefreshToken(RefreshTokenEntityInterface $refreshTokenEntityInterface)
|
public function persistNewRefreshToken(RefreshTokenEntityInterface $refreshTokenEntityInterface)
|
||||||
{
|
{
|
||||||
@@ -17,7 +17,7 @@ class RefreshTokenRepository implements RefreshTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function revokeRefreshToken($tokenId)
|
public function revokeRefreshToken($tokenId)
|
||||||
{
|
{
|
||||||
@@ -25,7 +25,7 @@ class RefreshTokenRepository implements RefreshTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function isRefreshTokenRevoked($tokenId)
|
public function isRefreshTokenRevoked($tokenId)
|
||||||
{
|
{
|
||||||
@@ -33,7 +33,7 @@ class RefreshTokenRepository implements RefreshTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getNewRefreshToken()
|
public function getNewRefreshToken()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user