Completed
Pull Request — master (#182)
by
unknown
01:57
created
src/HTML5/Parser/Normalizer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         $buffer .= $this->tree['body']['end'];
117 117
 
118 118
         // Close </html> tag
119
-        return $buffer . $this->tree['html']['end'];
119
+        return $buffer.$this->tree['html']['end'];
120 120
     }
121 121
 
122 122
     /**
@@ -172,9 +172,9 @@  discard block
 block discarded – undo
172 172
     {
173 173
         $previousKey = $key;
174 174
 
175
-        if (\stripos($node, '<' . $key) !== false) {
175
+        if (\stripos($node, '<'.$key) !== false) {
176 176
             $this->tree[$key]['start'] = $node;
177
-        } elseif (\stristr($node, '/' . $key . '>')) {
177
+        } elseif (\stristr($node, '/'.$key.'>')) {
178 178
             $this->tree[$key]['end'] = $node;
179 179
             $previousKey = null;
180 180
         } else {
Please login to merge, or discard this patch.