diff --git a/src/Entities/AccessTokenEntityInterface.php b/src/Entities/AccessTokenEntityInterface.php index 5d69eefd..5729c3fc 100644 --- a/src/Entities/AccessTokenEntityInterface.php +++ b/src/Entities/AccessTokenEntityInterface.php @@ -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); } diff --git a/src/Entities/Traits/AccessTokenTrait.php b/src/Entities/Traits/AccessTokenTrait.php index fab41c46..c2ee70a6 100644 --- a/src/Entities/Traits/AccessTokenTrait.php +++ b/src/Entities/Traits/AccessTokenTrait.php @@ -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); }