We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b776d79 commit f7d5096Copy full SHA for f7d5096
1 file changed
modules/banche/src/IBAN.php
@@ -399,7 +399,7 @@ public function __construct($iban)
399
400
$length = strlen($this->iban);
401
$current = strlen($nation);
402
- while ($current <= $length) {
+ while ($current < $length) {
403
$char = $structure[$current];
404
if (in_array($char, $keys)) {
405
$count = substr_count($structure, $char);
@@ -435,7 +435,7 @@ public static function generate($contents = [])
435
$length = strlen($structure);
436
$current = strlen((string) $nation);
437
$result = $nation;
438
439
440
441
0 commit comments