| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class AlphaNum extends QRDataAbstract{ |
||
| 23 | |||
| 24 | protected int $datamode = QRCode::DATA_ALPHANUM; |
||
| 25 | |||
| 26 | protected array $lengthBits = [9, 11, 13]; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritdoc |
||
| 30 | */ |
||
| 31 | protected function write(string $data):void{ |
||
| 39 | } |
||
| 40 | |||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @throws \chillerlan\QRCode\Data\QRCodeDataException |
||
| 45 | */ |
||
| 46 | protected function getCharCode(string $chr):int{ |
||
| 57 |