mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-08 04:46:04 +00:00
🚿 remove DATA_* prefix from Mode::* constants
This commit is contained in:
@@ -110,7 +110,7 @@ class QRCodeReaderTest extends TestCase{
|
||||
yield 'version: '.$version.$eccLevel => [
|
||||
$version,
|
||||
$eccLevel,
|
||||
substr($str, 0, $version->getMaxLengthForMode(Mode::DATA_BYTE, $eccLevel) ?? '')
|
||||
substr($str, 0, $version->getMaxLengthForMode(Mode::BYTE, $eccLevel) ?? '')
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user