From 8ca921de79d54874b94ce1c6890199ef0f2aaac5 Mon Sep 17 00:00:00 2001 From: Valerio Bozzolan Date: Sat, 18 May 2024 21:08:47 +0200 Subject: [PATCH] Fix typo in class name 'QRbitrtream' Closes https://github.com/t0k4rt/phpqrcode/issues/47 --- phpqrcode.php | 2 +- qrinput.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpqrcode.php b/phpqrcode.php index c3afc9d..28ebe09 100644 --- a/phpqrcode.php +++ b/phpqrcode.php @@ -1185,7 +1185,7 @@ public function encodeModeKanji($version) { try { - $bs = new QRbitrtream(); + $bs = new QRbitstream(); $bs->appendNum(4, 0x8); $bs->appendNum(QRspec::lengthIndicator(QR_MODE_KANJI, $version), (int)($this->size / 2)); diff --git a/qrinput.php b/qrinput.php index b587297..6d32216 100644 --- a/qrinput.php +++ b/qrinput.php @@ -145,7 +145,7 @@ public function encodeModeKanji($version) { try { - $bs = new QRbitrtream(); + $bs = new QRbitstream(); $bs->appendNum(4, 0x8); $bs->appendNum(QRspec::lengthIndicator(QR_MODE_KANJI, $version), (int)($this->size / 2));