@@ -105,7 +105,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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) |