Skip to content

Commit a1f051c

Browse files
committed
:octocat: fix PHP 8.2 deprecation warning
1 parent e128f93 commit a1f051c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Number.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public static function decodeSegment(BitBuffer $bitBuffer, int $versionNumber):s
159159
throw new QRCodeDataException('error decoding numeric value');
160160
}
161161

162-
$result .= $toNumericChar($twoDigitsBits / 10);
162+
$result .= $toNumericChar((int)($twoDigitsBits / 10));
163163
$result .= $toNumericChar($twoDigitsBits % 10);
164164
}
165165
elseif($length === 1){

0 commit comments

Comments
 (0)