Completed
Pull Request — master (#155)
by Christophe
01:42
created
src/HTML5/Parser/Tokenizer.php 1 patch
Braces   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -298,13 +298,9 @@
 block discarded – undo
298 298
             $this->scanner->next(); // Consume the other '-'
299 299
             $this->scanner->next(); // Next char.
300 300
             return $this->comment();
301
-        }
302
-
303
-        elseif ($tok == 'D' || $tok == 'd') { // Doctype
301
+        } elseif ($tok == 'D' || $tok == 'd') { // Doctype
304 302
             return $this->doctype();
305
-        }
306
-
307
-        elseif ($tok == '[') { // CDATA section
303
+        } elseif ($tok == '[') { // CDATA section
308 304
             return $this->cdataSection();
309 305
         }
310 306
 
Please login to merge, or discard this patch.