Passed
Branch master (d92f1b)
by Tony
03:21
created
Category
classes/Dom.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
      */
292 292
     public function getIterator(): \ArrayIterator
293 293
     {
294
-        return new \ArrayIterator(array_map(function (NodeInterface $node) {
294
+        return new \ArrayIterator(array_map(function(NodeInterface $node) {
295 295
             return new static($node);
296 296
         }, $this->nodes));
297 297
     }
@@ -373,8 +373,7 @@  discard block
 block discarded – undo
373 373
     public function eq(int $index): Dom
374 374
     {
375 375
         return array_key_exists($index, $this->nodes) ?
376
-            new static($this->nodes[$index]) :
377
-            new static();
376
+            new static($this->nodes[$index]) : new static();
378 377
     }
379 378
 
380 379
     /**
Please login to merge, or discard this patch.