mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 03:58:28 +00:00
:octocat: fix PHP 8.2 deprecation warning
This commit is contained in:
+1
-1
@@ -159,7 +159,7 @@ final class Number extends QRDataModeAbstract{
|
||||
throw new QRCodeDataException('error decoding numeric value');
|
||||
}
|
||||
|
||||
$result .= $toNumericChar($twoDigitsBits / 10);
|
||||
$result .= $toNumericChar((int)($twoDigitsBits / 10));
|
||||
$result .= $toNumericChar($twoDigitsBits % 10);
|
||||
}
|
||||
elseif($length === 1){
|
||||
|
||||
Reference in New Issue
Block a user