diff --git a/src/Entities/Traits/TokenEntityTrait.php b/src/Entities/Traits/TokenEntityTrait.php index 92503973..e55cc2eb 100644 --- a/src/Entities/Traits/TokenEntityTrait.php +++ b/src/Entities/Traits/TokenEntityTrait.php @@ -1,6 +1,7 @@ expiryDateTime = $dateTime; } @@ -130,6 +131,6 @@ trait TokenEntityTrait */ public function isExpired() { - return (new \DateTime()) > $this->getExpiryDateTime(); + return (new DateTime()) > $this->getExpiryDateTime(); } } \ No newline at end of file