mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-13 15:46:53 +03:00
Remove explicit int cast to avoid warning in PHP 8.5
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user