Completed
Push — master ( 9f6cfb...5894ae )
by Julien
04:19
created
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.
lib/Component/SingleComponent/Section.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,13 +149,13 @@
 block discarded – undo
149 149
                 );
150 150
         }
151 151
         // append title
152
-        if (! empty($this->getTitle())) {
152
+        if (!empty($this->getTitle())) {
153 153
             $el->appendChild(
154 154
                 (new Title($this->getTitle()))->toDOMElement($doc)
155 155
                 );
156 156
         }
157 157
         // append text
158
-        if (! empty($this->getText())) {
158
+        if (!empty($this->getText())) {
159 159
             $el->appendChild(
160 160
                 (new Text($this->getText()))->toDOMElement($doc)
161 161
                 );
Please login to merge, or discard this patch.