Code Duplication    Length = 7-7 lines in 2 locations

lib/Sii/PDF/Dte.php 2 locations

@@ 630-636 (lines=7) @@
627
            $this->setFont('', '', null);
628
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
629
        }
630
        if (!empty($receptor['RznSocRecep'])) {
631
            $this->setFont('', 'B', null);
632
            $this->Texto('Señor(es)', $x);
633
            $this->Texto(':', $x+$offset);
634
            $this->setFont('', '', null);
635
            $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0);
636
        }
637
        if (!empty($receptor['GiroRecep'])) {
638
            $this->setFont('', 'B', null);
639
            $this->Texto('Giro', $x);
@@ 681-687 (lines=7) @@
678
            $this->setFont('', '', null);
679
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
680
        }
681
        if (!empty($receptor['CdgIntRecep'])) {
682
            $this->setFont('', 'B', null);
683
            $this->Texto('Cód. recep.', $x);
684
            $this->Texto(':', $x+$offset);
685
            $this->setFont('', '', null);
686
            $this->MultiTexto($receptor['CdgIntRecep'], $x+$offset+2, null, '', $x==10?105:0);
687
        }
688
        return $this->GetY();
689
    }
690