Code Duplication    Length = 6-6 lines in 2 locations

src/CTe/Dacte.php 2 locations

@@ 1442-1447 (lines=6) @@
1439
        $texto = 'MUNICÍPIO';
1440
        $aFont = $this->formatPadrao;
1441
        $this->pTextBox($x, $y, $w, $h, $texto, $aFont, 'T', 'L', 0, '');
1442
        if (isset($this->enderExped)) {
1443
            $texto = $this->pSimpleGetValue($this->enderExped, "xMun") . ' - ';
1444
            $texto .= $this->pSimpleGetValue($this->enderExped, "UF");
1445
        } else {
1446
            $texto = '';
1447
        }
1448
        $aFont = $this->formatNegrito;
1449
        $this->pTextBox($x1, $y, $w, $h, $texto, $aFont, 'T', 'L', 0, '');
1450
        $x = $w - 18;
@@ 1539-1544 (lines=6) @@
1536
        $texto = 'MUNICÍPIO';
1537
        $aFont = $this->formatPadrao;
1538
        $this->pTextBox($x, $y, $w, $h, $texto, $aFont, 'T', 'L', 0, '');
1539
        if (isset($this->enderReceb)) {
1540
            $texto = $this->pSimpleGetValue($this->enderReceb, "xMun") . ' - ';
1541
            $texto .= $this->pSimpleGetValue($this->enderReceb, "UF");
1542
        } else {
1543
            $texto = '';
1544
        }
1545
        $aFont = $this->formatNegrito;
1546
        $this->pTextBox($x1, $y, $w, $h, $texto, $aFont, 'T', 'L', 0, '');
1547
        $x = $w - 19 + $oldX;