Completed
Branch master (621a4a)
by Robbert
50:54
created
src/html/Parser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
 		}
35 35
 	}
36 36
 
37
+	/**
38
+	 * @param string $html
39
+	 */
37 40
 	private function parsePartial( $html, $encoding ) 
38 41
 	{
39 42
 		$result = $this->parseFull( '<div id="ArcPartialHTML">'.$html.'</div>', $encoding );
@@ -45,6 +48,9 @@  discard block
 block discarded – undo
45 48
 		return $result;
46 49
 	}
47 50
 
51
+	/**
52
+	 * @param string $html
53
+	 */
48 54
 	private function parseFull( $html ) 
49 55
 	{
50 56
 		$dom = new \DomDocument();
Please login to merge, or discard this patch.
src/html/Proxy.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,10 +7,10 @@
 block discarded – undo
7 7
 
8 8
 class Proxy extends \arc\xml\Proxy {
9 9
 
10
-    public function __toString() {
11
-        $dom = dom_import_simplexml($this->target);
12
-        $result = ''.$dom->ownerDocument->saveHTML($dom);
13
-        return $result;
14
-    }
10
+	public function __toString() {
11
+		$dom = dom_import_simplexml($this->target);
12
+		$result = ''.$dom->ownerDocument->saveHTML($dom);
13
+		return $result;
14
+	}
15 15
 
16 16
 }
Please login to merge, or discard this patch.