Skip to content

Commit 9c04737

Browse files
committed
Fix deprecation notice about implicit cast of floats.
1 parent dc4e5b7 commit 9c04737

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/AbstractQueue.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,8 @@ private function throwIfTrue(
408408
}
409409
}
410410

411-
private function calculateEndTime(int $waitDurationInMillis) : int
411+
private function calculateEndTime(int $waitDurationInMillis) : float
412412
{
413-
//ints overflow to floats, should be fine
414413
return microtime(true) + ($waitDurationInMillis / 1000.0);
415414
}
416415
}

0 commit comments

Comments
 (0)