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/Elements/AbstractElement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,13 +58,13 @@
 block discarded – undo
58 58
         $el = $doc->createElement(CDA::NS_CDA.$this->getElementTag());
59 59
         
60 60
         if ($this instanceof HasClassCode) {
61
-            if (! empty($this->getClassCode())) {
61
+            if (!empty($this->getClassCode())) {
62 62
                 $el->setAttribute(CDA::NS_CDA.'classCode', $this->getClassCode());
63 63
             }
64 64
         }
65 65
         
66 66
         if ($this instanceof HasTypeCode) {
67
-            if (! empty($this->getTypeCode())) {
67
+            if (!empty($this->getTypeCode())) {
68 68
                 $el->setAttribute(CDA::NS_CDA.'typeCode', $this->getTypeCode());
69 69
             }
70 70
         }
Please login to merge, or discard this patch.
lib/DataType/AnyType.php 1 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/DataType/Name/PersonName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     }
63 63
     
64 64
     
65
-    public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null)
65
+    public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null)
66 66
     {
67 67
         if (count($this->parts) > 0) {
68 68
             $name = $doc->createElement(CDA::NS_CDA.'name');
Please login to merge, or discard this patch.