mirror of
https://github.com/itflow-org/itflow
synced 2026-06-17 23:31:05 +00:00
Allow PHP-8.2 and up Compatibility instead of just PHP-8.4
This commit is contained in:
4
plugins/vendor/symfony/clock/MockClock.php
vendored
4
plugins/vendor/symfony/clock/MockClock.php
vendored
@@ -54,6 +54,10 @@ final class MockClock implements ClockInterface
|
||||
|
||||
public function sleep(float|int $seconds): void
|
||||
{
|
||||
if (0 >= $seconds) {
|
||||
return;
|
||||
}
|
||||
|
||||
$now = (float) $this->now->format('Uu') + $seconds * 1e6;
|
||||
$now = substr_replace(\sprintf('@%07.0F', $now), '.', -6, 0);
|
||||
$timezone = $this->now->getTimezone();
|
||||
|
||||
Reference in New Issue
Block a user