Skip to content

Commit

Permalink
Merge branch '6.0' into 6.1
Browse files Browse the repository at this point in the history
* 6.0:
  [HttpFoundation] IPv4-mapped IPv6 addresses incorrectly rejected
  Minor (comment only), part 2
  [RateLimiter] Add typecast to Reservation::wait
  [FrameworkBundle] Remove check of undefined service in mailer assertions
  [VarDumper] Ignore \Error in __debugInfo()
  • Loading branch information
nicolas-grekas committed Dec 9, 2022
2 parents 9e75706 + c132bc9 commit 48c889e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Reservation.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ public function getRateLimit(): RateLimit

public function wait(): void
{
usleep($this->getWaitDuration() * 1e6);
usleep((int) ($this->getWaitDuration() * 1e6));
}
}

0 comments on commit 48c889e

Please sign in to comment.