@@ -61,7 +61,7 @@ |
||
61 | 61 | * {@overrideDoc} |
62 | 62 | * |
63 | 63 | * @param \DOMDocument $doc |
64 | - * @return type |
|
64 | + * @return \DOMNode |
|
65 | 65 | */ |
66 | 66 | public function toDOMElement(\DOMDocument $doc) |
67 | 67 | { |
@@ -41,5 +41,5 @@ |
||
41 | 41 | * to the Element. |
42 | 42 | * |
43 | 43 | */ |
44 | - abstract public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null); |
|
44 | + abstract public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null); |
|
45 | 45 | } |
@@ -33,13 +33,13 @@ |
||
33 | 33 | */ |
34 | 34 | abstract class AnyType |
35 | 35 | { |
36 | - /** |
|
37 | - * |
|
38 | - * Add attribute to the given element. |
|
39 | - * |
|
40 | - * The data type are responsible to add the given attribute, content child |
|
41 | - * to the Element. |
|
42 | - * |
|
43 | - */ |
|
36 | + /** |
|
37 | + * |
|
38 | + * Add attribute to the given element. |
|
39 | + * |
|
40 | + * The data type are responsible to add the given attribute, content child |
|
41 | + * to the Element. |
|
42 | + * |
|
43 | + */ |
|
44 | 44 | abstract public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null); |
45 | 45 | } |
@@ -137,7 +137,7 @@ |
||
137 | 137 | return $this; |
138 | 138 | } |
139 | 139 | |
140 | - public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null) |
|
140 | + public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null) |
|
141 | 141 | { |
142 | 142 | $el->setAttribute(CDA::NS_CDA."code", $this->getCode()); |
143 | 143 |
@@ -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() |
@@ -137,7 +137,7 @@ |
||
137 | 137 | return $this; |
138 | 138 | } |
139 | 139 | |
140 | - public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null) |
|
140 | + public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null) |
|
141 | 141 | { |
142 | 142 | $el->setAttribute(CDA::NS_CDA."code", $this->getCode()); |
143 | 143 |
@@ -137,7 +137,7 @@ |
||
137 | 137 | return $this; |
138 | 138 | } |
139 | 139 | |
140 | - public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null) |
|
140 | + public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null) |
|
141 | 141 | { |
142 | 142 | $el->setAttribute(CDA::NS_CDA."code", $this->getCode()); |
143 | 143 |
@@ -137,7 +137,7 @@ |
||
137 | 137 | return $this; |
138 | 138 | } |
139 | 139 | |
140 | - public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null) |
|
140 | + public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null) |
|
141 | 141 | { |
142 | 142 | $el->setAttribute(CDA::NS_CDA."code", $this->getCode()); |
143 | 143 |
@@ -137,7 +137,7 @@ |
||
137 | 137 | return $this; |
138 | 138 | } |
139 | 139 | |
140 | - public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null) |
|
140 | + public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null) |
|
141 | 141 | { |
142 | 142 | $el->setAttribute(CDA::NS_CDA."code", $this->getCode()); |
143 | 143 |
@@ -137,7 +137,7 @@ |
||
137 | 137 | return $this; |
138 | 138 | } |
139 | 139 | |
140 | - public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null) |
|
140 | + public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null) |
|
141 | 141 | { |
142 | 142 | $el->setAttribute(CDA::NS_CDA."code", $this->getCode()); |
143 | 143 |