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