We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a09f81 commit 72b846aCopy full SHA for 72b846a
src/PatternLab/PatternEngine/Twig/TwigUtil.php
@@ -46,7 +46,7 @@ public static function loadDateFormats($instance) {
46
public static function loadDebug($instance) {
47
48
if (Config::getOption("twigDebug")) {
49
- $twig->addExtension(new Twig_Extension_Debug());
+ $instance->addExtension(new \Twig_Extension_Debug());
50
}
51
52
return $instance;
0 commit comments