8000 [TwigBridge] Fix deprecation on twig 2.9 · symfony/symfony@b16f55b · GitHub
[go: up one dir, main page]

Skip to content

Commit b16f55b

Browse files
author
Robin Chalas
committed
[TwigBridge] Fix deprecation on twig 2.9
1 parent 2774705 commit b16f55b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/NodeVisitor/TranslationDefaultDomainNodeVisitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected function doEnterNode(Node $node, Environment $env)
9595
protected function doLeaveNode(Node $node, Environment $env)
9696
{
9797
if ($node instanceof TransDefaultDomainNode) {
98-
return false;
98+
return null;
9999
}
100100

101101
if ($node instanceof BlockNode || $node instanceof ModuleNode) {

0 commit comments

Comments
 (0)
0