File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/Symfony/Bridge/Twig/Extension Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ TwigBundle
1616
1717 * Deprecated the public ` twig ` service to private.
1818
19+ TwigBridge
20+ ----------
21+
22+ * Changed 2nd argument type of ` TranslationExtension::__construct() ` to ` TranslationNodeVisitor `
23+
1924Validator
2025---------
2126
Original file line number Diff line number Diff line change 1818use Symfony \Contracts \Translation \TranslatorInterface ;
1919use Symfony \Contracts \Translation \TranslatorTrait ;
2020use Twig \Extension \AbstractExtension ;
21- use Twig \NodeVisitor \NodeVisitorInterface ;
2221use Twig \TwigFilter ;
2322
2423// Help opcache.preload discover always-needed symbols
@@ -34,7 +33,7 @@ final class TranslationExtension extends AbstractExtension
3433 private $ translator ;
3534 private $ translationNodeVisitor ;
3635
37- public function __construct (TranslatorInterface $ translator = null , NodeVisitorInterface $ translationNodeVisitor = null )
36+ public function __construct (TranslatorInterface $ translator = null , TranslationNodeVisitor $ translationNodeVisitor = null )
3837 {
3938 $ this ->translator = $ translator ;
4039 $ this ->translationNodeVisitor = $ translationNodeVisitor ;
You can’t perform that action at this time.
0 commit comments