Code Duplication    Length = 7-7 lines in 2 locations

lib/Sii/PDF/Dte.php 2 locations

@@ 711-717 (lines=7) @@
708
            $this->setFont('', '', null);
709
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
710
        }
711
        if (!empty($receptor['RznSocRecep'])) {
712
            $this->setFont('', 'B', null);
713
            $this->Texto('Señor(es)', $x);
714
            $this->Texto(':', $x+$offset);
715
            $this->setFont('', '', null);
716
            $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0);
717
        }
718
        if (!empty($receptor['GiroRecep'])) {
719
            $this->setFont('', 'B', null);
720
            $this->Texto('Giro', $x);
@@ 769-775 (lines=7) @@
766
            $this->setFont('', '', null);
767
            $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2);
768
        }
769
        if (!empty($receptor['CdgIntRecep'])) {
770
            $this->setFont('', 'B', null);
771
            $this->Texto('Cód. recep.', $x);
772
            $this->Texto(':', $x+$offset);
773
            $this->setFont('', '', null);
774
            $this->MultiTexto($receptor['CdgIntRecep'], $x+$offset+2, null, '', $x==10?105:0);
775
        }
776
        return $this->GetY();
777
    }
778