Passed
Push — master ( 95ff55...3e8ce7 )
by Sebastian
09:26
created
src/AttributeCollection.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -137,8 +137,7 @@  discard block
 block discarded – undo
137 137
             if(in_array($name, $this->empty, true)) {
138 138
                 $this->empty = array_remove_values($this->empty, array($name));
139 139
             }
140
-        }
141
-        else
140
+        } else
142 141
         {
143 142
             unset($this->attributes[$name]);
144 143
 
@@ -249,8 +248,7 @@  discard block
 block discarded – undo
249 248
         if($keep === true)
250 249
         {
251 250
             $this->keepEmpty[$name] = true;
252
-        }
253
-        else if(isset($this->keepEmpty[$name]))
251
+        } else if(isset($this->keepEmpty[$name]))
254 252
         {
255 253
             unset($this->keepEmpty[$name]);
256 254
         }
Please login to merge, or discard this patch.