✨ typed properties!

This commit is contained in:
codemasher
2019-07-31 01:31:33 +02:00
parent 6750b7225c
commit edf885823d
32 changed files with 122 additions and 299 deletions
+2 -8
View File
@@ -19,15 +19,9 @@ use chillerlan\QRCode\QRCode;
*/
class Byte extends QRDataAbstract{
/**
* @inheritdoc
*/
protected $datamode = QRCode::DATA_BYTE;
protected int $datamode = QRCode::DATA_BYTE;
/**
* @inheritdoc
*/
protected $lengthBits = [8, 16, 16];
protected array $lengthBits = [8, 16, 16];
/**
* @inheritdoc