Passed
Push — master ( 0a5256...e582dd )
by Andreas
17:55
created
lib/midcom/helper/formatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,12 +50,12 @@
 block discarded – undo
50 50
      */
51 51
     public static function compile(string $content) : string
52 52
     {
53
-        return preg_replace_callback("%&\(([^)]*)\);%i", function ($variable)
53
+        return preg_replace_callback("%&\(([^)]*)\);%i", function($variable)
54 54
         {
55 55
             $parts = explode(':', $variable[1]);
56 56
             $variable = '$' . str_replace('.', '->', $parts[0]);
57 57
 
58
-            if (   isset($parts[1])
58
+            if (isset($parts[1])
59 59
                 && array_key_exists($parts[1], self::$_filters)) {
60 60
                 if ($parts[1] == 'p') {
61 61
                     $command = 'eval(\'?>\' . ' . $variable . ')';
Please login to merge, or discard this patch.