From 97e4ec277a64e4f6a0794715ebf1eebaedb2e71c Mon Sep 17 00:00:00 2001 From: Titas Gailius Date: Tue, 14 Dec 2021 16:25:50 +0200 Subject: [PATCH] php 8.1 --- .github/workflows/tests.yml | 2 +- src/Response.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 82408cd..758b3bd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: true matrix: - php: [7.3, 7.4, 8.0] + php: [7.3, 7.4, 8.0, 8.1] stability: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} - ${{ matrix.stability }} diff --git a/src/Response.php b/src/Response.php index a0ea0df..3f56c35 100644 --- a/src/Response.php +++ b/src/Response.php @@ -103,6 +103,7 @@ public function process() * * @return \Generator */ + #[\ReturnTypeWillChange] public function getIterator() { foreach ($this->process() as $type => $line) {