:octocat: use function (could've done that before...)

This commit is contained in:
codemasher
2019-08-09 20:18:46 +02:00
parent 2905bee470
commit 42244afdda
16 changed files with 130 additions and 96 deletions
+3 -1
View File
@@ -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++;
}