Skip to content

Commit

Permalink
Update MultiplierAddNode.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Attanon authored Nov 14, 2023
1 parent 87ce069 commit 8b1cbbf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Latte/Extension/Node/MultiplierAddNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ public static function create(Tag $tag): self
$node->part = new StringNode('1');
}

if ($tag->parser->stream->is(',')) {
$tag->parser->stream->next();
}
$tag->parser->stream->tryConsume(',');

$node->attributes = $tag->parser->parseArguments();

Expand Down

0 comments on commit 8b1cbbf

Please sign in to comment.