Completed
Pull Request — master (#56)
by
unknown
04:05
created
src/PHPHtmlParser/Dom/Tag.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,9 +226,9 @@
 block discarded – undo
226 226
     public function removeAttributes($keys)
227 227
     {
228 228
         $attributes = $this->getAttributes();
229
-        foreach($attributes as $key => $attribute) {
229
+        foreach ($attributes as $key => $attribute) {
230 230
             $key = strtolower($key);
231
-            if(!in_array($key, $keys)) {
231
+            if ( ! in_array($key, $keys)) {
232 232
                 unset($this->attr[$key]);
233 233
             }
234 234
         }
Please login to merge, or discard this patch.