mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 21:19:46 +05:30
Remove native type hints
This commit is contained in:
parent
577065c270
commit
b182389395
@ -16,5 +16,5 @@ interface AccessTokenEntityInterface extends TokenInterface
|
|||||||
/**
|
/**
|
||||||
* Generate a string representation from the access token
|
* Generate a string representation from the access token
|
||||||
*/
|
*/
|
||||||
public function convertToAccessToken(CryptKey $privateKey): string;
|
public function convertToAccessToken(CryptKey $privateKey);
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ trait AccessTokenTrait
|
|||||||
/**
|
/**
|
||||||
* Generate a string representation from the access token
|
* Generate a string representation from the access token
|
||||||
*/
|
*/
|
||||||
public function convertToAccessToken(CryptKey $privateKey): string
|
public function convertToAccessToken(CryptKey $privateKey)
|
||||||
{
|
{
|
||||||
return (string) $this->convertToJWT($privateKey);
|
return (string) $this->convertToJWT($privateKey);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user