@@ -127,11 +127,13 @@ |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | foreach (get_object_vars($node) as $prop => $propValue) { |
130 | - if (isset($result[$prop])) |
|
131 | - continue; |
|
130 | + if (isset($result[$prop])) { |
|
131 | + continue; |
|
132 | + } |
|
132 | 133 | |
133 | - if ($propValue === null) |
|
134 | - continue; |
|
134 | + if ($propValue === null) { |
|
135 | + continue; |
|
136 | + } |
|
135 | 137 | |
136 | 138 | if (is_array($propValue) || $propValue instanceof NodeList) { |
137 | 139 | $tmp = []; |