mirror of
https://github.com/itflow-org/itflow
synced 2026-06-16 14:51:04 +00:00
Allow PHP-8.2 and up Compatibility instead of just PHP-8.4
This commit is contained in:
@@ -36,7 +36,7 @@ class Timebox
|
||||
$exception = $caught;
|
||||
}
|
||||
|
||||
$remainder = intval($microseconds - ((microtime(true) - $start) * 1000000));
|
||||
$remainder = (int) ($microseconds - ((microtime(true) - $start) * 1_000_000));
|
||||
|
||||
if (! $this->earlyReturn && $remainder > 0) {
|
||||
$this->usleep($remainder);
|
||||
|
||||
Reference in New Issue
Block a user