Code Duplication    Length = 10-10 lines in 2 locations

src/Make.php 2 locations

@@ 2690-2699 (lines=10) @@
2687
        return $this->infCTeNorm;
2688
    }
2689
2690
    public function infCargaTag($vCarga = '', $proPred = '', $xOutCat = '')
2691
    {
2692
        $identificador = '#253 <infCarga> - ';
2693
        $this->infCarga = $this->dom->createElement('infCarga');
2694
        $this->dom->addChild($this->infCarga, 'vCarga', $vCarga, false, $identificador . 'Valor Total da Carga');
2695
        $this->dom->addChild($this->infCarga, 'proPred', $proPred, true, $identificador . 'Produto Predominante');
2696
        $this->dom->addChild($this->infCarga, 'xOutCat', $xOutCat, false, $identificador . 'Outras Caract. da Carga');
2697
2698
        return $this->infCarga;
2699
    }
2700
2701
    public function infQTag($cUnid = '', $tpMed = '', $qCarga = '')
2702
    {
@@ 2718-2727 (lines=10) @@
2715
        return $this->infDoc;
2716
    }
2717
2718
    public function infNFTag($vCarga = '', $proPred = '', $xOutCat = '')
2719
    {
2720
        $identificador = '#262 <infNF> - ';
2721
        $this->infCarga = $this->dom->createElement('infNF');
2722
        $this->dom->addChild($this->infCarga, 'vCarga', $vCarga, false, $identificador . 'Valor Total da Carga');
2723
        $this->dom->addChild($this->infCarga, 'proPred', $proPred, true, $identificador . 'Produto Predominante');
2724
        $this->dom->addChild($this->infCarga, 'xOutCat', $xOutCat, false, $identificador . 'Outras Caract. da Carga');
2725
2726
        return $this->infCarga;
2727
    }
2728
2729
    public function infNFeTag($chave = '', $PIN = '', $dPrev = '')
2730
    {