From 80464d79902cb09f7a22d7c4bcc51494d4f51832 Mon Sep 17 00:00:00 2001 From: Jakub Vrchota Date: Tue, 14 Nov 2023 17:31:03 +0100 Subject: [PATCH] Fix get attributes from latte 3 MultiplierAddNode --- src/Latte/Extension/Node/MultiplierAddNode.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Latte/Extension/Node/MultiplierAddNode.php b/src/Latte/Extension/Node/MultiplierAddNode.php index 98a67ba..7026cc6 100644 --- a/src/Latte/Extension/Node/MultiplierAddNode.php +++ b/src/Latte/Extension/Node/MultiplierAddNode.php @@ -35,6 +35,8 @@ public static function create(Tag $tag): self $node->part = new StringNode('1'); } + $tag->parser->stream->tryConsume(','); + $node->attributes = $tag->parser->parseArguments(); return $node;