We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc4e5b7 commit 9c04737Copy full SHA for 9c04737
1 file changed
src/AbstractQueue.php
@@ -408,9 +408,8 @@ private function throwIfTrue(
408
}
409
410
411
- private function calculateEndTime(int $waitDurationInMillis) : int
+ private function calculateEndTime(int $waitDurationInMillis) : float
412
{
413
- //ints overflow to floats, should be fine
414
return microtime(true) + ($waitDurationInMillis / 1000.0);
415
416
0 commit comments