Completed
Push — master ( 29e2ae...6c70be )
by Lars
01:13 queued 15s
created
src/voku/helper/SimpleHtmlDom.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     public function removeAttributes(): SimpleHtmlDomInterface
172 172
     {
173 173
         if ($this->hasAttributes()) {
174
-            foreach (array_keys((array)$this->getAllAttributes()) as $attribute) {
174
+            foreach (array_keys((array) $this->getAllAttributes()) as $attribute) {
175 175
                 $this->removeAttribute($attribute);
176 176
             }
177 177
         }
@@ -194,8 +194,8 @@  discard block
 block discarded – undo
194 194
             $tmpStr = $this->normalizeStringForComparision($string);
195 195
             if ($tmpDomString !== $tmpStr) {
196 196
                 throw new \RuntimeException(
197
-                    'Not valid HTML fragment!' . "\n" .
198
-                    $tmpDomString . "\n" .
197
+                    'Not valid HTML fragment!'."\n".
198
+                    $tmpDomString."\n".
199 199
                     $tmpStr
200 200
                 );
201 201
             }
@@ -254,8 +254,8 @@  discard block
 block discarded – undo
254 254
         $tmpStr = $this->normalizeStringForComparision($string);
255 255
         if ($tmpDomOuterTextString !== $tmpStr) {
256 256
             throw new \RuntimeException(
257
-                'Not valid HTML fragment!' . "\n"
258
-                . $tmpDomOuterTextString . "\n" .
257
+                'Not valid HTML fragment!'."\n"
258
+                . $tmpDomOuterTextString."\n".
259 259
                 $tmpStr
260 260
             );
261 261
         }
@@ -999,6 +999,6 @@  discard block
 block discarded – undo
999 999
      */
1000 1000
     public function delete()
1001 1001
     {
1002
-        $this->outertext='';
1002
+        $this->outertext = '';
1003 1003
     }
1004 1004
 }
Please login to merge, or discard this patch.