Remove explicit int cast to avoid warning in PHP 8.5

This commit is contained in:
Ben Ramsey
2025-12-13 19:53:16 -06:00
parent cd47a01a1f
commit ff16728c5c
+1 -1
View File
@@ -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) {