:octocat: no need to clear BitBuffer directly after invocation

This commit is contained in:
codemasher
2020-10-20 21:49:01 +02:00
parent 327734652d
commit 142c77b636
-1
View File
@@ -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())
;