Passed
Pull Request — master (#119)
by
unknown
07:31
created
Classes/Services/XPathXMLGenerator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $tokenStack = 0;
49 49
         $insidePredicate = false;
50 50
         $predicateString = "";
51
-        $loopStack = array();
51
+        $loopStack = array ();
52 52
 
53 53
         foreach ($matches[0] as $key => $value) {
54 54
             $firstChar = substr($value, 0, 1);
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 $this->endAttribute();
89 89
                 array_pop($loopStack);
90 90
                 $predicateStack--;
91
-            } else if ($firstChar !== '=' && $firstChar !== '[' && $firstChar !== '@' && $firstChar !== '/' && $firstChar!== '.') {
91
+            } else if ($firstChar !== '=' && $firstChar !== '[' && $firstChar !== '@' && $firstChar !== '/' && $firstChar !== '.') {
92 92
                 $this->startToken($value);
93 93
                 $loopStack[] = 'token';
94 94
                 if ($predicateStack > 0) {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 $this->endToken();
107 107
             }
108 108
         }
109
-        $this->stack = array();
109
+        $this->stack = array ();
110 110
 
111 111
     }
112 112
 
Please login to merge, or discard this patch.