| Total Complexity | 6 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class MTAlgorithm extends TINAlgorithm |
||
| 11 | { |
||
| 12 | const LENGTH = 8; |
||
| 13 | |||
| 14 | public function validate(string $tin) |
||
| 24 | } |
||
| 25 | |||
| 26 | public function isFollowLength(string $tin) |
||
| 27 | { |
||
| 28 | return StringUtil::isFollowLength($tin, self::LENGTH); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function isFollowMaltaRule(string $tin) |
||
| 39 | } |
||
| 40 | } |
||
| 41 |