Completed
Push — master ( b29a08...2a05a4 )
by Julien
01:53
created
lib/DataType/Collection/Set.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,18 +89,18 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.