Skip to content

Commit

Permalink
Update TIN.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ortegafernando authored and drupol committed Jul 17, 2024
1 parent 8ee2ef5 commit 1c8c201
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/TIN.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,6 @@ public function isValid(bool $strict = false): bool

return true;
}

public function hasAlgorithm(): bool
{
$parsedTin = $this->parse($this->slug, false);
foreach ($this->algorithms as $algorithm) {
if (true === $algorithm::supports($parsedTin['country'])) {
return true;
}
}
return false;
}

/**
* @throws TINException
Expand Down

0 comments on commit 1c8c201

Please sign in to comment.