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
1 changed files with 2 additions and 2 deletions

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);