mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-17 01:05:52 +00:00
🚿 force int because PHP8.1 hates this
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user