mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-11-23 19:52:15 +00:00
refactoring
This commit is contained in:
@@ -65,18 +65,6 @@ class QRConst{
|
||||
const PAD0 = 0xEC;
|
||||
const PAD1 = 0x11;
|
||||
|
||||
const CHAR_MAP = [
|
||||
36 => ' ',
|
||||
37 => '$',
|
||||
38 => '%',
|
||||
39 => '*',
|
||||
40 => '+',
|
||||
41 => '-',
|
||||
42 => '.',
|
||||
43 => '/',
|
||||
44 => ':',
|
||||
];
|
||||
|
||||
const MAX_LENGTH = [
|
||||
[[ 41, 25, 17, 10], [ 34, 20, 14, 8], [ 27, 16, 11, 7], [ 17, 10, 7, 4]],
|
||||
[[ 77, 47, 32, 20], [ 63, 38, 26, 16], [ 48, 29, 20, 12], [ 34, 20, 14, 8]],
|
||||
|
||||
Reference in New Issue
Block a user