mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-26 20:48:14 +00:00
:octocat: cleanup
This commit is contained in:
@@ -36,7 +36,7 @@ class QRMatrix{
|
||||
/**
|
||||
* @link http://www.thonky.com/qr-code-tutorial/alignment-pattern-locations
|
||||
*/
|
||||
const alignmentPattern = [ 1 => // start at 1
|
||||
const alignmentPattern = [ null, // start at 1
|
||||
[],
|
||||
[6, 18],
|
||||
[6, 22],
|
||||
@@ -82,8 +82,8 @@ class QRMatrix{
|
||||
/**
|
||||
* @link http://www.thonky.com/qr-code-tutorial/format-version-tables
|
||||
*/
|
||||
const versionPattern = [ 7 => // no version pattern for QR Codes < 7
|
||||
0x07c94, 0x085bc, 0x09a99, 0x0a4d3, // 7-10
|
||||
const versionPattern = [ // no version pattern for QR Codes < 7
|
||||
null , null , null , null , null , null , 0x07c94, 0x085bc, 0x09a99, 0x0a4d3,
|
||||
0x0bbf6, 0x0c762, 0x0d847, 0x0e60d, 0x0f928, 0x10b78, 0x1145d, 0x12a17, 0x13532, 0x149a6,
|
||||
0x15683, 0x168c9, 0x177ec, 0x18ec4, 0x191e1, 0x1afab, 0x1b08e, 0x1cc1a, 0x1d33f, 0x1ed75,
|
||||
0x1f250, 0x209d5, 0x216f0, 0x228ba, 0x2379f, 0x24b0b, 0x2542e, 0x26a64, 0x27541, 0x28c69,
|
||||
|
||||
Reference in New Issue
Block a user