Skip to content

Commit

Permalink
Make php 5.4 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
helenshaw committed Jul 15, 2019
1 parent 6a7a534 commit bd8fdb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/Retry/NonBlockingRetryMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private function getMessageOptions(Message $message)
* @param int $attempts
* @return int The number of seconds to wait until next attempt
*/
private function getBackoffPeriod(int $attempts)
private function getBackoffPeriod($attempts)
{
return (pow($attempts, 4) + 15 + (rand(1, 30) * ($attempts + 1)));
}
Expand Down

0 comments on commit bd8fdb2

Please sign in to comment.