@@ -176,7 +176,9 @@ |
||
176 | 176 | { |
177 | 177 | /** @var \DOMElement $item */ |
178 | 178 | foreach ($element->childNodes as $key => $item) { |
179 | - if ($item instanceof \DOMText) continue; |
|
179 | + if ($item instanceof \DOMText) { |
|
180 | + continue; |
|
181 | + } |
|
180 | 182 | $parent = $this->toObject($item, $obj); |
181 | 183 | if ($item->hasChildNodes() && $parent !== null) { |
182 | 184 | $this->buildObjectTree($item, $parent); |
@@ -38,7 +38,7 @@ |
||
38 | 38 | * @return Transform |
39 | 39 | */ |
40 | 40 | public static function newInstance($transformString = null, TransformMatcherInterface $matcher = null, |
41 | - PackerInterface $packer = null) |
|
41 | + PackerInterface $packer = null) |
|
42 | 42 | { |
43 | 43 | $instance = new Transform(); |
44 | 44 | $matcherImpl = $matcher === null ? new TransformMatcher() : $matcher; |