File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 18
18
use Symfony \Contracts \Translation \TranslatorInterface ;
19
19
use Symfony \Contracts \Translation \TranslatorTrait ;
20
20
use Twig \Extension \AbstractExtension ;
21
- use Twig \NodeVisitor \NodeVisitorInterface ;
22
21
use Twig \TwigFilter ;
23
22
24
23
// Help opcache.preload discover always-needed symbols
@@ -34,7 +33,7 @@ final class TranslationExtension extends AbstractExtension
34
33
private $ translator ;
35
34
private $ translationNodeVisitor ;
36
35
37
- public function __construct (TranslatorInterface $ translator = null , NodeVisitorInterface $ translationNodeVisitor = null )
36
+ public function __construct (TranslatorInterface $ translator = null , TranslationNodeVisitor $ translationNodeVisitor = null )
38
37
{
39
38
$ this ->translator = $ translator ;
40
39
$ this ->translationNodeVisitor = $ translationNodeVisitor ;
You can’t perform that action at this time.
0 commit comments