From b7dd23637dfc926366a84d561affe55890e10405 Mon Sep 17 00:00:00 2001 From: Thomas Portelange Date: Mon, 19 Aug 2024 17:05:37 +0200 Subject: [PATCH] Add return type will change to iterator #[\ReturnTypeWillChange] is required to avoid php notices on recent php versions --- src/PagedResultIterator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PagedResultIterator.php b/src/PagedResultIterator.php index 43441b2..2a092d3 100644 --- a/src/PagedResultIterator.php +++ b/src/PagedResultIterator.php @@ -38,6 +38,7 @@ public function each() } } + #[\ReturnTypeWillChange] public function getIterator() { return $this->each();