Skip to content

Commit 455c2bc

Browse files
authored
Merge pull request #1080 from BahmanMD/Update-Extension.tpl.php
[make:twig-extension] reference twig 3.x docs in generated extension
2 parents 143024a + 7489904 commit 455c2bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/skeleton/twig/Extension.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function getFilters(): array
1313
return [
1414
// If your filter generates SAFE HTML, you should add a third
1515
// parameter: ['is_safe' => ['html']]
16-
// Reference: https://twig.symfony.com/doc/2.x/advanced.html#automatic-escaping
16+
// Reference: https://twig.symfony.com/doc/3.x/advanced.html#automatic-escaping
1717
new TwigFilter('filter_name', [$this, 'doSomething']),
1818
];
1919
}

0 commit comments

Comments
 (0)