Code Duplication    Length = 6-6 lines in 2 locations

lib/Sii/Dte/PDF/Dte.php 2 locations

@@ 379-384 (lines=6) @@
376
        }
377
        $this->Ln();
378
        $this->agregarDetalleContinuo($dte['Detalle']);
379
        if (!empty($dte['DscRcgGlobal'])) {
380
            $this->Ln();
381
            $this->Ln();
382
            $this->agregarSubTotal($dte['Detalle'], $x_start);
383
            $this->agregarDescuentosRecargos($dte['DscRcgGlobal'], $x_start);
384
        }
385
        if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) {
386
            $this->Ln();
387
            $this->Ln();
@@ 456-461 (lines=6) @@
453
        }
454
        $this->Ln();
455
        $this->agregarDetalleContinuo($dte['Detalle'], 3, [1, 53, 73, 83]);
456
        if (!empty($dte['DscRcgGlobal'])) {
457
            $this->Ln();
458
            $this->Ln();
459
            $this->agregarSubTotal($dte['Detalle'], $x_start);
460
            $this->agregarDescuentosRecargos($dte['DscRcgGlobal'], $x_start);
461
        }
462
        if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) {
463
            $this->Ln();
464
            $this->Ln();