Completed
Pull Request — master (#4)
by Auke
01:34
created
src/html/Parser.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
         }
19 19
     }
20 20
 
21
+    /**
22
+     * @param string $encoding
23
+     */
21 24
     public function parse( $html, $encoding = null ) 
22 25
     {
23 26
         if ( !$html ) {
@@ -34,6 +37,9 @@  discard block
 block discarded – undo
34 37
         }
35 38
     }
36 39
 
40
+    /**
41
+     * @param string $html
42
+     */
37 43
     private function parsePartial( $html, $encoding ) 
38 44
     {
39 45
         $result = $this->parseFull( '<div id="ArcPartialHTML">'.$html.'</div>', $encoding );
@@ -45,6 +51,9 @@  discard block
 block discarded – undo
45 51
         return $result;
46 52
     }
47 53
 
54
+    /**
55
+     * @param string $html
56
+     */
48 57
     private function parseFull( $html ) 
49 58
     {
50 59
         $dom = new \DomDocument();
Please login to merge, or discard this patch.