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