Skip to content

Commit

Permalink
SAL-1088-account-bank-names-bol auto-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolass committed Jul 17, 2024
1 parent dd7f19e commit 706d431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bo/BoBankAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function getAccountTile(): string

public function isValid(): bool
{
if (preg_match('/^\d{22}$/', $this->bank_account_number) !== 1) {
if (preg_match('/^([a-zA-Z]{3})\+([0-9]{22})$/', $this->bank_account_number) !== 1) {
return false;
}

Expand Down

0 comments on commit 706d431

Please sign in to comment.