Code Duplication    Length = 7-7 lines in 2 locations

lib/Sii/PDF/Dte.php 2 locations

@@ 771-777 (lines=7) @@
768
            $this->setFont('', '', null);
769
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
770
        }
771
        if (!empty($receptor['RznSocRecep'])) {
772
            $this->setFont('', 'B', null);
773
            $this->Texto('Señor(es)', $x);
774
            $this->Texto(':', $x+$offset);
775
            $this->setFont('', '', null);
776
            $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0);
777
        }
778
        if (!empty($receptor['GiroRecep'])) {
779
            $this->setFont('', 'B', null);
780
            $this->Texto('Giro', $x);
@@ 829-835 (lines=7) @@
826
            $this->setFont('', '', null);
827
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
828
        }
829
        if (!empty($receptor['CdgIntRecep'])) {
830
            $this->setFont('', 'B', null);
831
            $this->Texto('Cód. recep.', $x);
832
            $this->Texto(':', $x+$offset);
833
            $this->setFont('', '', null);
834
            $this->MultiTexto($receptor['CdgIntRecep'], $x+$offset+2, null, '', $x==10?105:0);
835
        }
836
        return $this->GetY();
837
    }
838