mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
Fix typo creating QRbitstream()
Summary: Make the one `new QRbitrtream()` look like the other nine `new QRbitstream()`. Interestingly, this bug was reported upstream since 2018, and still not fixed: https://github.com/t0k4rt/phpqrcode/issues/47 Test Plan: Read the code aloud and realize that this word sound weird. Verify that the class `QRbitrtream` does not exist, and `QRbitstream` exists. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25651
This commit is contained in:
parent
8c82117878
commit
23a3f59be2
1 changed files with 1 additions and 1 deletions
2
externals/phpqrcode/phpqrcode.php
vendored
2
externals/phpqrcode/phpqrcode.php
vendored
|
@ -1159,7 +1159,7 @@
|
|||
{
|
||||
try {
|
||||
|
||||
$bs = new QRbitrtream();
|
||||
$bs = new QRbitstream();
|
||||
|
||||
$bs->appendNum(4, 0x8);
|
||||
$bs->appendNum(QRspec::lengthIndicator(QR_MODE_KANJI, $version), (int)($this->size / 2));
|
||||
|
|
Loading…
Reference in a new issue