mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-11-20 17:56:31 +00:00
:octocat: let QRDataModeInterface::write() return $this
This commit is contained in:
+2
-1
@@ -44,7 +44,7 @@ final class Byte extends QRDataModeAbstract{
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function write(BitBuffer $bitBuffer, int $versionNumber):void{
|
||||
public function write(BitBuffer $bitBuffer, int $versionNumber):QRDataModeInterface{
|
||||
$len = $this->getCharCount();
|
||||
|
||||
$bitBuffer
|
||||
@@ -59,6 +59,7 @@ final class Byte extends QRDataModeAbstract{
|
||||
$i++;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user