diff --git a/AdobeIms/Model/LogIn.php b/AdobeIms/Model/LogIn.php index 0e3e261..79bf604 100644 --- a/AdobeIms/Model/LogIn.php +++ b/AdobeIms/Model/LogIn.php @@ -135,7 +135,7 @@ private function getExpiresTime(int $expiresIn): string { return $this->dateTime->gmtDate( self::DATE_FORMAT, - $this->dateTime->gmtTimestamp() + $expiresIn / 1000 + $this->dateTime->gmtTimestamp() + (int)round($expiresIn / 1000) ); } }