Completed
Push — master ( 61b074...b29a08 )
by Julien
02:32
created
lib/Elements/AbstractElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         $el = $doc->createElement(CDA::NS_CDA.$this->getElementTag());
57 57
         
58 58
         if (count($properties) > 0) {
59
-            foreach($properties as $property) {
59
+            foreach ($properties as $property) {
60 60
                 $this->{$property}->setValueToElement($el);
61 61
             }
62 62
         }
Please login to merge, or discard this patch.
lib/Component/RootBodyComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     {
65 65
         $component = $doc->createElement('component');
66 66
         
67
-        foreach($this->getComponents() as $subComponent) {
67
+        foreach ($this->getComponents() as $subComponent) {
68 68
             $component->appendChild($subComponent->toDOMElement($doc));
69 69
         }
70 70
         
Please login to merge, or discard this patch.
lib/ClinicalDocument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
         $dom->appendChild($doc);
235 235
         // set the NS
236 236
         $doc->setAttributeNS('http://www.w3.org/2001/XMLSchema-instance', 
237
-            'xsi:schemaLocation','urn:hl7-org:v3 CDA.xsd');
237
+            'xsi:schemaLocation', 'urn:hl7-org:v3 CDA.xsd');
238 238
         // add typeId
239 239
         $doc->appendChild($this->typeId->toDOMElement($dom));
240 240
         // add id
Please login to merge, or discard this patch.