Skip to content

Commit fe71e46

Browse files
author
Matheus Lopes Santos
committed
Correção de Alias da interface AgenteInterface na classe Boleto
1 parent 72d7792 commit fe71e46

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Boleto.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Boleto\Caixa\Interfaces\BoletoInterface;
66
use Carbon\Carbon;
7-
use Boleto\Caixa\Interfaces\AgenteInterface as Agente;
7+
use Boleto\Caixa\Interfaces\AgenteInterface;
88
use Exception;
99
use InvalidArgumentException;
1010
use JansenFelipe\Utils\Utils;
@@ -13,8 +13,8 @@
1313
* Boleto
1414
*
1515
* @author Matheus Lopes Santos <fale_com_lopez@hotmail.com>
16-
* @version 1.0.1
17-
* @since 19/09/2018
16+
* @version 1.0.2
17+
* @since 20/09/2018
1818
* @package Boleto\Caixa
1919
*/
2020
class Boleto implements BoletoInterface
@@ -112,10 +112,10 @@ class Boleto implements BoletoInterface
112112
/**
113113
* @param string $convenio
114114
* @param string $cnpjBeneficiario
115-
* @param Agente|null $pagador
115+
* @param AgenteInterface|null $pagador
116116
* @param array $opcoes
117117
*/
118-
public function __construct($convenio, $cnpjBeneficiario, Agente $pagador = null, array $opcoes = [])
118+
public function __construct($convenio, $cnpjBeneficiario, AgenteInterface $pagador = null, array $opcoes = [])
119119
{
120120
$this->setConvenio($convenio);
121121
$this->setCNPJBeneficiario($cnpjBeneficiario);
@@ -194,9 +194,9 @@ public function getPagador()
194194
}
195195

196196
/**
197-
* @param Agente $pagador
197+
* @param AgenteInterface $pagador
198198
*/
199-
public function setPagador(Agente $pagador)
199+
public function setPagador(AgenteInterface $pagador)
200200
{
201201
$this->pagador = $pagador;
202202
}

0 commit comments

Comments
 (0)