mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-18 04:48:39 +00:00
Removing unnecessary code
This commit is contained in:
parent
5f98dbea94
commit
c33334a0f8
|
|
@ -114,13 +114,7 @@ abstract class Iban extends ValidatorAbstract
|
|||
$new .= $movedArray[$key];
|
||||
}
|
||||
|
||||
$mod = bcmod($new, '97');
|
||||
|
||||
if ($mod != 1) {
|
||||
self::$error = IbanErrorType::INVALID_CHECKSUM;
|
||||
}
|
||||
|
||||
return $mod == 1;
|
||||
return bcmod($new, '97') == 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user