Completed
Push — master ( 3359a6...0739c3 )
by Robbert
04:09
created
src/xml/NodeList.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@  discard block
 block discarded – undo
6 6
 
7 7
     protected $writer = null;
8 8
 
9
+    /**
10
+     * @param Writer $writer
11
+     */
9 12
     public function __construct( $list = null, $writer = null ) {
10 13
         parent::__construct( $list );
11 14
         $this->writer = $writer;
@@ -58,6 +61,9 @@  discard block
 block discarded – undo
58 61
         return [ $attributes, $content ];
59 62
     }
60 63
 
64
+    /**
65
+     * @param string $content
66
+     */
61 67
     protected function element( $tagName, $attributes, $content ) {
62 68
         $tagName =  $this->writer->name( $tagName );
63 69
         $el = '<' . $tagName;
Please login to merge, or discard this patch.
src/xml/Parser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@  discard block
 block discarded – undo
33 33
         }
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $xml
38
+     */
36 39
     private function parsePartial( $xml, $encoding )
37 40
     {
38 41
         // add a known (single) root element with all declared namespaces
@@ -53,6 +56,9 @@  discard block
 block discarded – undo
53 56
         return $result;
54 57
     }
55 58
 
59
+    /**
60
+     * @param string $xml
61
+     */
56 62
     private function parseFull( $xml, $encoding = null )
57 63
     {
58 64
         $dom = new \DomDocument();
Please login to merge, or discard this patch.