Skip to content

Commit 4c6e90a

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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) {

src/Symfony/Bridge/Twig/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": "^5.5.9|>=7.0.8",
20-
"twig/twig": "^1.37.1|^2.6.2"
20+
"twig/twig": "^1.37.1|^2.6.9"
2121
},
2222
"require-dev": {
2323
"symfony/asset": "~2.8|~3.0|~4.0",

0 commit comments

Comments
 (0)