Skip to content

Commit

Permalink
[minor] add php 8.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Nov 13, 2021
1 parent 33b432b commit c04c992
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.4, 8.0]
php: [7.4, 8.0, 8.1]
deps: [hightest]
symfony: [4.4.*, 5.3.*, 5.4.*]
include:
Expand All @@ -22,6 +22,9 @@ jobs:
- php: 8.0
deps: hightest
symfony: 6.0.*
- php: 8.1
deps: hightest
symfony: 6.0.*
steps:
- uses: zenstruck/.github@php-test-symfony
with:
Expand Down
2 changes: 1 addition & 1 deletion src/Schedule/Task/CompoundTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function addMessage(object $message, array $stamps = [], ?string $descrip
/**
* @return Task[]
*/
public function getIterator(): iterable
public function getIterator(): \Traversable
{
foreach ($this->tasks as $task) {
$task->cron($this->getExpression());
Expand Down

0 comments on commit c04c992

Please sign in to comment.