Code Duplication    Length = 7-7 lines in 2 locations

lib/Sii/PDF/Dte.php 2 locations

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