Completed
Push — master ( 49bb93...ac8feb )
by Julien
02:08
created
lib/DataType/AnyType.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -33,13 +33,13 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
lib/Elements/TypeId.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
lib/DataType/Boolean/Boolean.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
lib/Helper/IdentifierHelper.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         // only for php7.0
41 41
         $data = random_bytes(16);
42 42
         
43
-       //assert(strlen($data) == 16);
43
+        //assert(strlen($data) == 16);
44 44
 
45 45
         $data[6] = chr(ord($data[6]) & 0x0f | 0x40); // set version to 0100
46 46
         $data[8] = chr(ord($data[8]) & 0x3f | 0x80); // set bits 6-7 to 10
Please login to merge, or discard this patch.
lib/ClinicalDocument.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
lib/DataType/TextAndMultimedia/NarrativeString.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@
 block discarded – undo
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];
Please login to merge, or discard this patch.
lib/Helper/ReferenceManager.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,10 +69,10 @@
 block discarded – undo
69 69
     }
70 70
     
71 71
         /**
72
-     * 
73
-     * @param type $ref
74
-     * @return ReferenceElement
75
-     */
72
+         * 
73
+         * @param type $ref
74
+         * @return ReferenceElement
75
+         */
76 76
     public function getReferenceElement($ref)
77 77
     {
78 78
         if (! array_key_exists($ref, $this->elementReferences)) {
Please login to merge, or discard this patch.