From 633926b1db32fefb9c7e21b0cb8e8ea7a4aa8ead Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Fri, 3 Oct 2025 18:34:32 +0000 Subject: [PATCH] - Added a loop index in AbstractLoop control struct. --- src/ControlStructure/AbstractLoop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ControlStructure/AbstractLoop.php b/src/ControlStructure/AbstractLoop.php index 39305ff..51b19d5 100644 --- a/src/ControlStructure/AbstractLoop.php +++ b/src/ControlStructure/AbstractLoop.php @@ -27,7 +27,7 @@ abstract class AbstractLoop implements ControlStructure { 'token' => "end{$token}", ]; - return ""; + return ""; case "endwhile": case "endforeach":