Completed
Push — master ( 265a8d...b8938c )
by Vojta
02:03
created
Plugin.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,10 +48,10 @@
 block discarded – undo
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
Please login to merge, or discard this patch.