Passed
Push — develop ( dd5809...625a81 )
by nguereza
01:50
created
src/Renderer/PlatineTemplateRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         // coem with the expected content
98 98
         $variables = (string) preg_replace_callback(
99 99
             '/{{(.*?)}}/',
100
-            function ($match) {
100
+            function($match) {
101 101
                 return strip_tags($match[0]);
102 102
             },
103 103
             (string) preg_replace('/(?<!{){(?!{)<\/w:t>[\s\S]*?<w:t>{/', '{{', $content)
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
         return (string) preg_replace_callback(
107 107
             '/{%(.*?)%}/',
108
-            function ($match) {
108
+            function($match) {
109 109
                 return strip_tags($match[0]);
110 110
             },
111 111
             (string) preg_replace('/(?<!{){(?!{)<\/w:t>[\s\S]*?<w:t>{/', '{%', $variables)
Please login to merge, or discard this patch.