diff --git a/src/Symfony/Component/Notifier/Bridge/OvhCloud/OvhCloudTransport.php b/src/Symfony/Component/Notifier/Bridge/OvhCloud/OvhCloudTransport.php index 6b5e24b622628..9954144bf65dd 100644 --- a/src/Symfony/Component/Notifier/Bridge/OvhCloud/OvhCloudTransport.php +++ b/src/Symfony/Component/Notifier/Bridge/OvhCloud/OvhCloudTransport.php @@ -100,8 +100,6 @@ private function calculateTimeDelta(): int $endpoint = sprintf('%s/auth/time', $this->getEndpoint()); $response = $this->client->request('GET', $endpoint); - $serverTimestamp = (int) (string) $response->getContent(); - - return $serverTimestamp - (int) time(); + return $response->getContent() - time(); } }