Skip to content

Commit

Permalink
Fix Twig deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
yceruto committed Aug 24, 2024
1 parent 06f5ef3 commit 96c5ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/NodeVisitor/TwigNodeProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TwigNodeProvider
public static function getModule($content)
{
return new ModuleNode(
new ConstantExpression($content, 0),
new BodyNode([new ConstantExpression($content, 0)]),
null,
new ArrayExpression([], 0),
new ArrayExpression([], 0),
Expand Down

0 comments on commit 96c5ada

Please sign in to comment.