Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
smhg committed Sep 23, 2023
1 parent ecaf2d5 commit d154371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function setIdentification(string $identification = 'SCT'): static
public function setBic(string $bic): static
{
if (strlen($bic) !== 8 && strlen($bic) !== 11) {
throw new Exception('BIC of the beneficiary bank can be 8 or 11 characters');
throw new Exception('BIC of the beneficiary can only be 8 or 11 characters');
}

$this->sepaValues['bic'] = $bic;
Expand Down

0 comments on commit d154371

Please sign in to comment.