@@ -123,7 +123,7 @@ |
||
123 | 123 | } |
124 | 124 | |
125 | 125 | |
126 | - public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null) |
|
126 | + public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null) |
|
127 | 127 | { |
128 | 128 | $value = \mb_substr( |
129 | 129 | $this->getDate()->format(self::DATE_FORMAT), |
@@ -46,7 +46,7 @@ |
||
46 | 46 | |
47 | 47 | public function toDOMElement(\DOMDocument $doc) |
48 | 48 | { |
49 | - return $this->createElement($doc, array ('codedValue')); |
|
49 | + return $this->createElement($doc, array('codedValue')); |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | public function getCodedValue() |
@@ -56,7 +56,7 @@ |
||
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 | } |
@@ -64,7 +64,7 @@ |
||
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 |