Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1']
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
3 changes: 1 addition & 2 deletions src/AbstractQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,8 @@ private function throwIfTrue(
}
}

private function calculateEndTime(int $waitDurationInMillis) : int
private function calculateEndTime(int $waitDurationInMillis) : float
{
//ints overflow to floats, should be fine
return microtime(true) + ($waitDurationInMillis / 1000.0);
}
}