From 903d5d64b1454ceb7fadc5a5bc59d43b123d00d6 Mon Sep 17 00:00:00 2001 From: Geoffrey CONTE Date: Wed, 18 May 2022 11:14:49 +0200 Subject: [PATCH] batch: fix batch size after first occurrence --- src/Plugin/Batching/Builder/Merge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/Batching/Builder/Merge.php b/src/Plugin/Batching/Builder/Merge.php index 2850417b..23646387 100644 --- a/src/Plugin/Batching/Builder/Merge.php +++ b/src/Plugin/Batching/Builder/Merge.php @@ -125,7 +125,7 @@ class: new Node\Stmt\Class_( new Node\Stmt\Expression( new Node\Expr\Assign( var: new Node\Expr\Variable('count'), - expr: new Node\Scalar\LNumber(0) + expr: new Node\Scalar\LNumber(1) ), ), new Node\Stmt\Expression(