Completed
Push — master ( 85b767...9f6cfb )
by Julien
02:49
created
lib/DataType/Name/EntityName.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
         return $this;
65 65
     }
66 66
         
67
-    public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null)
67
+    public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null)
68 68
     {
69 69
         $name = $doc->createElement('name');
70 70
         $name->appendChild($doc->createTextNode($this->getString()));
Please login to merge, or discard this patch.
lib/DataType/TextAndMultimedia/BinaryData.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
         return $this;
65 65
     }
66 66
     
67
-    public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null)
67
+    public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null)
68 68
     {
69 69
         $content = new \DOMText($this->getContent());
70 70
         $el->appendChild($content);
Please login to merge, or discard this patch.
lib/DataType/TextAndMultimedia/EncapsuledData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
         return $this;
146 146
     }
147 147
 
148
-    public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null)
148
+    public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null)
149 149
     {
150 150
         $el->setAttribute(CD::NS_CDA.'mediaType', $this->getMediaType());
151 151
     
Please login to merge, or discard this patch.
lib/DataType/Identifier/InstanceIdentifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
         return $this->getAssigningAuthorityName() !== null;
112 112
     }
113 113
 
114
-    public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null)
114
+    public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null)
115 115
     {
116 116
         $el->setAttribute(CDA::NS_CDA."root", $this->getRoot());
117 117
         
Please login to merge, or discard this patch.
lib/DataType/Code/ConceptDescriptor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
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
         
Please login to merge, or discard this patch.
lib/Elements/Code.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
lib/DataType/AnyType.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,5 +41,5 @@
 block discarded – undo
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
 }
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/RIM/Entity/Person.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 
27 27
 namespace PHPHealth\CDA\RIM\Entity;
28 28
 
29
-use PHPHealth\CDA\ElementInterface;
30 29
 use PHPHealth\CDA\ClinicalDocument as CDA;
31 30
 use PHPHealth\CDA\DataType\Quantity\DateAndTime\TimeStamp;
32 31
 use PHPHealth\CDA\DataType\Collection\Set;
Please login to merge, or discard this patch.