Revert "Fix Dumper. Each complext type is now wrapped inside container element tag"

This reverts commit 7802a0d19f.
This commit is contained in:
wpetit 2019-09-12 11:44:47 +02:00
parent aa0b750f47
commit 0c94185907

View File

@ -203,9 +203,9 @@ class Dumper
$partElement->setAttribute('name', $part->getName());
if ($type instanceof ComplexType) {
$partElement->setAttribute('element', static::TYPES_NS.':'.$type->getXmlType());
$partElement->setAttribute('type', static::TYPES_NS.':'.$type->getXmlType());
} else {
$partElement->setAttribute('element', $type);
$partElement->setAttribute('type', $type);
}
$messageElement->appendChild($partElement);