Completed
Push — master ( bccd28...ee3bb4 )
by Andrew
05:18
created
src/Traits/TraversalTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             };
106 106
 
107 107
         } else {
108
-            throw new \InvalidArgumentException('Unexpected input value of type "' . gettype($input) . '"');
108
+            throw new \InvalidArgumentException('Unexpected input value of type "'.gettype($input).'"');
109 109
         }
110 110
 
111 111
         // Build a list of matching nodes.
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
             $fn = $input;
178 178
 
179 179
         } else {
180
-            throw new \InvalidArgumentException('Unexpected input value of type "' . gettype($input) . '"');
180
+            throw new \InvalidArgumentException('Unexpected input value of type "'.gettype($input).'"');
181 181
         }
182 182
 
183 183
         return $this->getNodesMatchingInput($fn);
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
      */
356 356
     public function contents() {
357 357
         $results = $this->collection()->reduce(function($carry, $node) {
358
-            if($node->isRemoved())
358
+            if ($node->isRemoved())
359 359
                 return $this->newNodeList();
360 360
             return $carry->merge(
361 361
                 $node->newNodeList($node->childNodes)
Please login to merge, or discard this patch.