Code Duplication    Length = 12-12 lines in 2 locations

src/Models/BoletoInfo/BoletoInfo.php 2 locations

@@ 64-75 (lines=12) @@
61
     * @param bool|FALSE $valor_inteiro
62
     * @return int|string
63
     */
64
    public function getValorTaxa($valor_inteiro = false)
65
    {
66
        $valor_taxa = intval(($this->getTaxaPercentual() / 3000) * $this->getValorBase());
67
68
        if ($valor_inteiro) {
69
            return $valor_taxa;
70
        } else {
71
            return Calculator::formataValor($valor_taxa);
72
        }
73
    }
74
75
    /**
76
     * @param bool|FALSE $valor_inteiro
77
     * @return int|string
78
     */
@@ 79-90 (lines=12) @@
76
     * @param bool|FALSE $valor_inteiro
77
     * @return int|string
78
     */
79
    public function getValorMulta($valor_inteiro = false)
80
    {
81
        $valor_multa = intval(($this->getMultaPercentual() / 100) * $this->getValorBase());
82
83
        if ($valor_inteiro) {
84
            return $valor_multa;
85
        } else {
86
            return Calculator::formataValor($valor_multa);
87
        }
88
    }
89
90
    /**
91
     * @return Carbon
92
     */
93
    public function getDataVencimentoRecebida()