mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Remove native type hints
This commit is contained in:
@@ -16,5 +16,5 @@ interface AccessTokenEntityInterface extends TokenInterface
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public function convertToAccessToken(CryptKey $privateKey): string
|
||||
public function convertToAccessToken(CryptKey $privateKey)
|
||||
{
|
||||
return (string) $this->convertToJWT($privateKey);
|
||||
}
|
||||
|
Reference in New Issue
Block a user