Skip to content

Commit

Permalink
mensagem de erro validacao pix
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardokum committed Jun 4, 2024
1 parent 4512025 commit 0081d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Boleto/AbstractBoleto.php
Original file line number Diff line number Diff line change
Expand Up @@ -2000,7 +2000,7 @@ public function validarPix()
throw new ValidationException('Informado tipo de chave de Pix porém não foi informado a chave');
}
if (! $this->getPixChaveTipo()) {
throw new ValidationException('Informado tipo de chave de Pix porém não foi informado a chave');
throw new ValidationException('Informado chave de Pix porém não foi informado o tipo de chave');
}
if (! $this->getID()) {
throw new ValidationException('ID necessita ser informado para geração da cobrança');
Expand Down

0 comments on commit 0081d09

Please sign in to comment.