Skip to content

Commit a87da8c

Browse files
committed
fix phpstan type error notified by ./dev.sh checks
1 parent 09d7406 commit a87da8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Helper/Iban.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ private static function mod97(string $number): int
121121
$parts = \str_split($number, 7);
122122
$rest = 0;
123123
foreach ($parts as $part) {
124-
$rest = ($rest . $part) % 97;
124+
$rest = ((int)($rest . $part)) % 97;
125125
}
126-
return $rest;
126+
return (int)$rest;
127127
}
128128

129129
/**

0 commit comments

Comments
 (0)