Skip to content

Commit

Permalink
Update Twig.php
Browse files Browse the repository at this point in the history
  • Loading branch information
thampe authored Apr 22, 2021
1 parent 95d05f1 commit 94c133b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/View/TemplateEngine/Twig.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private function initTwig()

$this->twig->addFilter(new TwigFilter('trans', '__'));
$this->twig->addExtension(new DebugExtension());
$twig->addExtension(new StringExtension());
$this->twig->addExtension(new StringExtension());
$this->eventManager->dispatch('twig_init', ['twig' => $this->twig]);
}

Expand Down

0 comments on commit 94c133b

Please sign in to comment.