diff options
Diffstat (limited to 'vendor/chillerlan/php-qrcode/src/Data/Byte.php')
-rw-r--r-- | vendor/chillerlan/php-qrcode/src/Data/Byte.php | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/vendor/chillerlan/php-qrcode/src/Data/Byte.php b/vendor/chillerlan/php-qrcode/src/Data/Byte.php index f1955645a..02e76a639 100644 --- a/vendor/chillerlan/php-qrcode/src/Data/Byte.php +++ b/vendor/chillerlan/php-qrcode/src/Data/Byte.php @@ -18,18 +18,15 @@ use function ord; /** * Byte mode, ISO-8859-1 or UTF-8 + * + * ISO/IEC 18004:2000 Section 8.3.4 + * ISO/IEC 18004:2000 Section 8.4.4 */ -class Byte extends QRDataAbstract{ +final 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 |