:octocat: fix PHP 8.2 deprecation warning

This commit is contained in:
smiley
2023-04-08 23:22:59 +02:00
parent e128f93233
commit a1f051ca55
+1 -1
View File
@@ -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){