Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 602-608 (lines=7) @@
599
            $this->setFont('', '', null);
600
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
601
        }
602
        if (!empty($receptor['RznSocRecep'])) {
603
            $this->setFont('', 'B', null);
604
            $this->Texto('Señor(es)', $x);
605
            $this->Texto(':', $x+$offset);
606
            $this->setFont('', '', null);
607
            $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0);
608
        }
609
        if (!empty($receptor['GiroRecep'])) {
610
            $this->setFont('', 'B', null);
611
            $this->Texto('Giro', $x);
@@ 660-666 (lines=7) @@
657
            $this->setFont('', '', null);
658
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
659
        }
660
        if (!empty($receptor['CdgIntRecep'])) {
661
            $this->setFont('', 'B', null);
662
            $this->Texto('Cód. recep.', $x);
663
            $this->Texto(':', $x+$offset);
664
            $this->setFont('', '', null);
665
            $this->MultiTexto($receptor['CdgIntRecep'], $x+$offset+2, null, '', $x==10?105:0);
666
        }
667
        return $this->GetY();
668
    }
669