Completed
Pull Request — master (#158)
by Christophe
09:52
created
src/HTML5/Parser/Tokenizer.php 1 patch
Braces   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -323,13 +323,9 @@
 block discarded – undo
323 323
         if ($tok == '-' && $this->scanner->peek() == '-') {
324 324
             $this->scanner->consume(2);
325 325
             return $this->comment();
326
-        }
327
-
328
-        elseif ($tok == 'D' || $tok == 'd') { // Doctype
326
+        } elseif ($tok == 'D' || $tok == 'd') { // Doctype
329 327
             return $this->doctype();
330
-        }
331
-
332
-        elseif ($tok == '[') { // CDATA section
328
+        } elseif ($tok == '[') { // CDATA section
333 329
             return $this->cdataSection();
334 330
         }
335 331
 
Please login to merge, or discard this patch.