|
4 | 4 |
|
5 | 5 | use Boleto\Caixa\Interfaces\BoletoInterface;
|
6 | 6 | use Carbon\Carbon;
|
7 |
| -use Boleto\Caixa\Interfaces\AgenteInterface as Agente; |
| 7 | +use Boleto\Caixa\Interfaces\AgenteInterface; |
8 | 8 | use Exception;
|
9 | 9 | use InvalidArgumentException;
|
10 | 10 | use JansenFelipe\Utils\Utils;
|
|
13 | 13 | * Boleto
|
14 | 14 | *
|
15 | 15 | * @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 |
18 | 18 | * @package Boleto\Caixa
|
19 | 19 | */
|
20 | 20 | class Boleto implements BoletoInterface
|
@@ -112,10 +112,10 @@ class Boleto implements BoletoInterface
|
112 | 112 | /**
|
113 | 113 | * @param string $convenio
|
114 | 114 | * @param string $cnpjBeneficiario
|
115 |
| - * @param Agente|null $pagador |
| 115 | + * @param AgenteInterface|null $pagador |
116 | 116 | * @param array $opcoes
|
117 | 117 | */
|
118 |
| - public function __construct($convenio, $cnpjBeneficiario, Agente $pagador = null, array $opcoes = []) |
| 118 | + public function __construct($convenio, $cnpjBeneficiario, AgenteInterface $pagador = null, array $opcoes = []) |
119 | 119 | {
|
120 | 120 | $this->setConvenio($convenio);
|
121 | 121 | $this->setCNPJBeneficiario($cnpjBeneficiario);
|
@@ -194,9 +194,9 @@ public function getPagador()
|
194 | 194 | }
|
195 | 195 |
|
196 | 196 | /**
|
197 |
| - * @param Agente $pagador |
| 197 | + * @param AgenteInterface $pagador |
198 | 198 | */
|
199 |
| - public function setPagador(Agente $pagador) |
| 199 | + public function setPagador(AgenteInterface $pagador) |
200 | 200 | {
|
201 | 201 | $this->pagador = $pagador;
|
202 | 202 | }
|
|
0 commit comments