Removing unnecessary code

This commit is contained in:
Dennis Eichhorn 2016-06-11 10:50:49 +02:00
parent 5f98dbea94
commit c33334a0f8

View File

@ -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;
}
/**