Skip to content

Commit fba7202

Browse files
committed
fix: append tribMun node correctly in DPS xml
Signed-off-by: Vitor Mattos <vitor@php.rio>
1 parent 8205ea5 commit fba7202

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Xml/XmlBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function buildDps(DpsData $dps): string
5656
// Values
5757
$valores = $doc->createElement('valores');
5858
$valores->appendChild($doc->createElement('vServ', $dps->valorServico));
59-
$valores->appendChild($doc->createElement('trib', $this->buildTrib($doc, $dps)));
59+
$valores->appendChild($this->buildTrib($doc, $dps));
6060
$infDps->appendChild($valores);
6161

6262
return $doc->saveXML() ?: '';

0 commit comments

Comments
 (0)