@@ -89,18 +89,18 @@ |
||
89 | 89 | return $this->elements; |
90 | 90 | } |
91 | 91 | |
92 | - public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null) |
|
92 | + public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null) |
|
93 | 93 | { |
94 | 94 | if (count($this->elements) === 0) { |
95 | 95 | return; |
96 | 96 | } |
97 | 97 | |
98 | 98 | if ($this->elements[0] instanceof AnyType) { |
99 | - foreach($this->elements as $sub) { |
|
99 | + foreach ($this->elements as $sub) { |
|
100 | 100 | $sub->setValueToElement($el, $doc); |
101 | 101 | } |
102 | 102 | } elseif ($this->elements[0] instanceof \PHPHealth\CDA\ElementInterface) { |
103 | - foreach($this->elements as $sub) { |
|
103 | + foreach ($this->elements as $sub) { |
|
104 | 104 | $el->appendChild($sub->toDOMElement($doc)); |
105 | 105 | } |
106 | 106 | } else { |