mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-17 17:25:28 +00:00
🚿 consistency: renamed constants QRDataInterface::*_CHAR_MAP -> CHAR_MAP_*
This commit is contained in:
@@ -44,7 +44,7 @@ class AlphaNum extends QRDataAbstract{
|
||||
* @throws \chillerlan\QRCode\Data\QRCodeDataException
|
||||
*/
|
||||
protected function getCharCode(string $chr):int{
|
||||
$i = array_search($chr, $this::ALPHANUM_CHAR_MAP);
|
||||
$i = array_search($chr, $this::CHAR_MAP_ALPHANUM);
|
||||
|
||||
if($i !== false){
|
||||
return $i;
|
||||
|
||||
Reference in New Issue
Block a user