mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-29 07:06:06 +00:00
:octocat: use function (could've done that before...)
This commit is contained in:
+3
-1
@@ -14,6 +14,8 @@ namespace chillerlan\QRCode\Data;
|
||||
|
||||
use chillerlan\QRCode\QRCode;
|
||||
|
||||
use function ord;
|
||||
|
||||
/**
|
||||
* Byte mode, ISO-8859-1 or UTF-8
|
||||
*/
|
||||
@@ -36,7 +38,7 @@ class Byte extends QRDataAbstract{
|
||||
$i = 0;
|
||||
|
||||
while($i < $this->strlen){
|
||||
$this->bitBuffer->put(\ord($data[$i]), 8);
|
||||
$this->bitBuffer->put(ord($data[$i]), 8);
|
||||
$i++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user