@@ -48,10 +48,10 @@ |
||
48 | 48 | $stringLoader = new \Twig_Extension_StringLoader; |
49 | 49 | $stringLoaderFunc = $stringLoader->getFunctions(); |
50 | 50 | $functions += [ |
51 | - 'template_from_string' => function($template) use ($twig, $stringLoaderFunc) { |
|
51 | + 'template_from_string' => function($template) use ($twig, $stringLoaderFunc) { |
|
52 | 52 | $callable = $stringLoaderFunc['0']->getCallable(); |
53 | 53 | return $callable($twig, $template); |
54 | - } |
|
54 | + } |
|
55 | 55 | ]; |
56 | 56 | |
57 | 57 | // add Text extensions |