From eb533efa6710c2dc1d0d1963905c87a1d174be46 Mon Sep 17 00:00:00 2001 From: glo37161 Date: Mon, 24 Jan 2022 14:54:57 +0530 Subject: [PATCH] AC-2114 Fix exception Deprecated Functionality when trying to sign in to ASI --- AdobeIms/Model/LogIn.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); } }