Skip to content

Commit

Permalink
Corrected tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszdebinski committed Jul 28, 2023
1 parent 776052f commit 61a04cf
Show file tree
Hide file tree
Showing 4 changed files with 324 additions and 322 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ private function sleepUsingConstantTimer(float $startTime): void

$remainingTime = $this->constantAuthTime - (microtime(true) - $startTime);
if ($remainingTime > 0) {
usleep($remainingTime * 1000000);
$microseconds = $remainingTime * 1000000;

usleep((int)$microseconds);
} elseif ($this->logger) {
$this->logger->warning(
sprintf(
Expand Down
Loading

0 comments on commit 61a04cf

Please sign in to comment.