From c2cd12e0b89b698285dafeb6a68367018827c60f Mon Sep 17 00:00:00 2001 From: sephster Date: Wed, 19 Dec 2018 12:54:26 +0000 Subject: [PATCH] Remove return types --- src/Entities/RefreshTokenEntityInterface.php | 2 +- src/Entities/TokenInterface.php | 2 +- src/Entities/Traits/AccessTokenTrait.php | 2 +- src/Entities/Traits/RefreshTokenTrait.php | 2 +- src/Entities/Traits/TokenEntityTrait.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Entities/RefreshTokenEntityInterface.php b/src/Entities/RefreshTokenEntityInterface.php index a197ce5e..551ad052 100644 --- a/src/Entities/RefreshTokenEntityInterface.php +++ b/src/Entities/RefreshTokenEntityInterface.php @@ -32,7 +32,7 @@ interface RefreshTokenEntityInterface * * @return DateTimeImmutable */ - public function getExpiryDateTime(): DateTimeImmutable; + public function getExpiryDateTime(); /** * Set the date time when the token expires. diff --git a/src/Entities/TokenInterface.php b/src/Entities/TokenInterface.php index a8d1496d..7b063e13 100644 --- a/src/Entities/TokenInterface.php +++ b/src/Entities/TokenInterface.php @@ -32,7 +32,7 @@ interface TokenInterface * * @return DateTimeImmutable */ - public function getExpiryDateTime(): DateTimeImmutable; + public function getExpiryDateTime(); /** * Set the date time when the token expires. diff --git a/src/Entities/Traits/AccessTokenTrait.php b/src/Entities/Traits/AccessTokenTrait.php index 4fa7193a..872e8c18 100644 --- a/src/Entities/Traits/AccessTokenTrait.php +++ b/src/Entities/Traits/AccessTokenTrait.php @@ -70,7 +70,7 @@ trait AccessTokenTrait /** * @return DateTimeImmutable */ - abstract public function getExpiryDateTime(): DateTimeImmutable; + abstract public function getExpiryDateTime(); /** * @return string|int diff --git a/src/Entities/Traits/RefreshTokenTrait.php b/src/Entities/Traits/RefreshTokenTrait.php index e79cfdaa..f0f15444 100644 --- a/src/Entities/Traits/RefreshTokenTrait.php +++ b/src/Entities/Traits/RefreshTokenTrait.php @@ -45,7 +45,7 @@ trait RefreshTokenTrait * * @return DateTimeImmutable */ - public function getExpiryDateTime(): DateTimeImmutable + public function getExpiryDateTime() { return $this->expiryDateTime; } diff --git a/src/Entities/Traits/TokenEntityTrait.php b/src/Entities/Traits/TokenEntityTrait.php index 8ed2b63a..5275c462 100644 --- a/src/Entities/Traits/TokenEntityTrait.php +++ b/src/Entities/Traits/TokenEntityTrait.php @@ -60,7 +60,7 @@ trait TokenEntityTrait * * @return DateTimeImmutable */ - public function getExpiryDateTime(): DateTimeImmutable + public function getExpiryDateTime() { return $this->expiryDateTime; }