Code Duplication    Length = 7-7 lines in 2 locations

lib/Sii/PDF/Dte.php 2 locations

@@ 751-757 (lines=7) @@
748
            $this->setFont('', '', null);
749
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
750
        }
751
        if (!empty($receptor['RznSocRecep'])) {
752
            $this->setFont('', 'B', null);
753
            $this->Texto('Señor(es)', $x);
754
            $this->Texto(':', $x+$offset);
755
            $this->setFont('', '', null);
756
            $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0);
757
        }
758
        if (!empty($receptor['GiroRecep'])) {
759
            $this->setFont('', 'B', null);
760
            $this->Texto('Giro', $x);
@@ 809-815 (lines=7) @@
806
            $this->setFont('', '', null);
807
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
808
        }
809
        if (!empty($receptor['CdgIntRecep'])) {
810
            $this->setFont('', 'B', null);
811
            $this->Texto('Cód. recep.', $x);
812
            $this->Texto(':', $x+$offset);
813
            $this->setFont('', '', null);
814
            $this->MultiTexto($receptor['CdgIntRecep'], $x+$offset+2, null, '', $x==10?105:0);
815
        }
816
        return $this->GetY();
817
    }
818