Completed
Pull Request — master (#7)
by
unknown
23:48 queued 12:31
created
src/Traits/TraversalTrait.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -347,8 +347,9 @@
 block discarded – undo
347 347
      */
348 348
     public function contents(): NodeList {
349 349
         $results = $this->collection()->reduce(function($carry, $node) {
350
-            if($node->isRemoved())
351
-                return $this->newNodeList();
350
+            if($node->isRemoved()) {
351
+                            return $this->newNodeList();
352
+            }
352 353
             return $carry->merge(
353 354
                 $node->newNodeList($node->childNodes)
354 355
             );
Please login to merge, or discard this patch.