From b182389395599df2890f27dbc47d24ed80222746 Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Mon, 21 May 2018 15:45:09 +0100 Subject: [PATCH] Remove native type hints --- src/Entities/AccessTokenEntityInterface.php | 2 +- src/Entities/Traits/AccessTokenTrait.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }