@@ -58,7 +58,7 @@ |
||
58 | 58 | ]; |
59 | 59 | |
60 | 60 | // add Intl extensions if php5-intl installed |
61 | - if ( class_exists('IntlDateFormatter') ) { |
|
61 | + if (class_exists('IntlDateFormatter')) { |
|
62 | 62 | $intlExtension = new \Twig_Extensions_Extension_Intl; |
63 | 63 | $intlFilters = $intlExtension->getFilters(); |
64 | 64 |
@@ -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 |