Skip to content

Commit

Permalink
Merge pull request #134 from smartemailing/feature/CompanyRegistratio…
Browse files Browse the repository at this point in the history
…nNumber-GR

CompanyRegistrationNumber - rename EL to GR
  • Loading branch information
Bleksak authored May 22, 2024
2 parents 11f280a + f580a1d commit 8a62df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CompanyRegistrationNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ private function isValid(
$this->isValidPT($value) ||
$this->isValidLU($value) ||
$this->isValidIE($value) ||
$this->isValidEL($value);
$this->isValidGR($value);
}

private function isValidEL(
private function isValidGR(
string $value
): bool {
if(!\preg_match('/^\d{9}$/', $value)) {
Expand Down

0 comments on commit 8a62df5

Please sign in to comment.