From 8499d30e62423927cada149fce2214ad647ee71d Mon Sep 17 00:00:00 2001 From: Sergei Tigrov Date: Sat, 27 Apr 2024 08:52:06 +0700 Subject: [PATCH] Mark `AbstractDMLQueryBuilder::prepareTraversable()` as final by @vjik Co-authored-by: Sergei Predvoditelev --- src/QueryBuilder/AbstractDMLQueryBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QueryBuilder/AbstractDMLQueryBuilder.php b/src/QueryBuilder/AbstractDMLQueryBuilder.php index 6a1a290c1..1a20cb8cd 100644 --- a/src/QueryBuilder/AbstractDMLQueryBuilder.php +++ b/src/QueryBuilder/AbstractDMLQueryBuilder.php @@ -141,7 +141,7 @@ public function upsert( * * @psalm-return Iterator|array> */ - protected function prepareTraversable(Traversable $rows): Iterator|array + final protected function prepareTraversable(Traversable $rows): Iterator|array { while ($rows instanceof IteratorAggregate) { $rows = $rows->getIterator();