🚿 force int because PHP8.1 hates this

This commit is contained in:
codemasher
2021-12-13 00:00:17 +01:00
parent 14b6f822be
commit cdd8aea40a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ final class AlphaNum extends QRDataModeAbstract{
}
$nextTwoCharsBits = $bitBuffer->read(11);
$result .= $toAlphaNumericChar($nextTwoCharsBits / 45);
$result .= $toAlphaNumericChar((int)($nextTwoCharsBits / 45));
$result .= $toAlphaNumericChar($nextTwoCharsBits % 45);
$length -= 2;
}