Code Duplication    Length = 7-7 lines in 2 locations

lib/Sii/PDF/Dte.php 2 locations

@@ 740-746 (lines=7) @@
737
            $this->setFont('', '', null);
738
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
739
        }
740
        if (!empty($receptor['RznSocRecep'])) {
741
            $this->setFont('', 'B', null);
742
            $this->Texto('Señor(es)', $x);
743
            $this->Texto(':', $x+$offset);
744
            $this->setFont('', '', null);
745
            $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0);
746
        }
747
        if (!empty($receptor['GiroRecep'])) {
748
            $this->setFont('', 'B', null);
749
            $this->Texto('Giro', $x);
@@ 798-804 (lines=7) @@
795
            $this->setFont('', '', null);
796
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
797
        }
798
        if (!empty($receptor['CdgIntRecep'])) {
799
            $this->setFont('', 'B', null);
800
            $this->Texto('Cód. recep.', $x);
801
            $this->Texto(':', $x+$offset);
802
            $this->setFont('', '', null);
803
            $this->MultiTexto($receptor['CdgIntRecep'], $x+$offset+2, null, '', $x==10?105:0);
804
        }
805
        return $this->GetY();
806
    }
807