@@ -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 | { |
@@ -52,6 +52,9 @@ |
||
52 | 52 | return $this->value; |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @return string |
|
57 | + */ |
|
55 | 58 | public function getTag() |
56 | 59 | { |
57 | 60 | return $this->tag; |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | |
162 | 162 | /** |
163 | 163 | * |
164 | - * @return string |
|
164 | + * @return Title |
|
165 | 165 | */ |
166 | 166 | public function getTitle() |
167 | 167 | { |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | /** |
172 | 172 | * |
173 | 173 | * @param \PHPHealth\CDA\Elements\Title $title |
174 | - * @return \PHPHealth\CDA2\ClinicalDocument |
|
174 | + * @return ClinicalDocument |
|
175 | 175 | */ |
176 | 176 | public function setTitle(Title $title) |
177 | 177 | { |
@@ -49,6 +49,9 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | |
52 | + /** |
|
53 | + * @param string $type |
|
54 | + */ |
|
52 | 55 | private function addElement($type, $content) |
53 | 56 | { |
54 | 57 | $this->elements[] = [$type, $content]; |