From ff16728c5ca6ef9b66c9af3e0a1306d58b32daa3 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Sat, 13 Dec 2025 19:53:16 -0600 Subject: [PATCH] Remove explicit int cast to avoid warning in PHP 8.5 --- src/Converter/Time/PhpTimeConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Converter/Time/PhpTimeConverter.php b/src/Converter/Time/PhpTimeConverter.php index 67dbf88..371a66b 100644 --- a/src/Converter/Time/PhpTimeConverter.php +++ b/src/Converter/Time/PhpTimeConverter.php @@ -110,7 +110,7 @@ class PhpTimeConverter implements TimeConverterInterface // Convert the 100-nanosecond intervals into seconds and microseconds. $splitTime = $this->splitTime( - ((int) $timestamp->toString() - self::GREGORIAN_TO_UNIX_INTERVALS) / self::SECOND_INTERVALS, + ($timestamp->toString() - self::GREGORIAN_TO_UNIX_INTERVALS) / self::SECOND_INTERVALS, ); if (count($splitTime) === 0) {