Completed
Push — master ( 85b767...9f6cfb )
by Julien
02:49
created
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/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.
lib/DataType/Quantity/DateAndTime/TimeStamp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     }
124 124
 
125 125
     
126
-    public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null)
126
+    public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null)
127 127
     {
128 128
         $value = \mb_substr(
129 129
             $this->getDate()->format(self::DATE_FORMAT),
Please login to merge, or discard this patch.
lib/DataType/Collection/Set.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      */
103 103
     public function checkContainsOrThrow($name)
104 104
     {
105
-        if  ($name !== $this->getElementName()) {
105
+        if ($name !== $this->getElementName()) {
106 106
             throw new \InvalidArgumentException(sprintf("The Set should countains %s"
107 107
                 . " but contains %s", $name, $this->getElementName()));
108 108
         } else {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
         return $this->elements;
119 119
     }
120 120
     
121
-    public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null)
121
+    public function setValueToElement(\DOMElement&$el, \DOMDocument $doc = null)
122 122
     {
123 123
         if (count($this->elements) === 0) {
124 124
             return;
Please login to merge, or discard this patch.