🛀 data mode rework

This commit is contained in:
codemasher
2020-11-21 18:40:53 +01:00
parent 9f5d0bc060
commit 8bd573ddfd
7 changed files with 64 additions and 74 deletions
+3 -1
View File
@@ -12,6 +12,8 @@
namespace chillerlan\QRCode\Data;
use chillerlan\QRCode\Helpers\BitBuffer;
/**
* Specifies the methods reqired for the data modules (Number, Alphanum, Byte and Kanji)
* and holds version information in several constants
@@ -38,6 +40,6 @@ interface QRDataModeInterface{
*
* @see \chillerlan\QRCode\Data\QRData::writeBitBuffer()
*/
public function write(int $version):void;
public function write(BitBuffer $bitBuffer, int $version):void;
}