mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 03:58:28 +00:00
:octocat: no need to clear BitBuffer directly after invocation
This commit is contained in:
@@ -172,7 +172,6 @@ abstract class QRDataAbstract implements QRDataInterface{
|
||||
$MAX_BITS = $this::MAX_BITS[$this->version][QRCode::ECC_MODES[$this->options->eccLevel]];
|
||||
|
||||
$this->bitBuffer
|
||||
->clear()
|
||||
->put($this->datamode, 4)
|
||||
->put($this->strlen, $this->getLengthBits())
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user