:octocat:

This commit is contained in:
codemasher
2019-07-31 13:59:53 +02:00
parent 988102c9f2
commit eaa5f7bf4e
+1 -1
View File
@@ -264,7 +264,7 @@ abstract class QRDataAbstract implements QRDataInterface{
$data = \array_fill(0, $totalCodeCount, null); $data = \array_fill(0, $totalCodeCount, null);
$index = 0; $index = 0;
$mask = function($arr, $count) use (&$data, &$index, $rsCount){ $mask = function(array $arr, int $count) use (&$data, &$index, $rsCount){
for($x = 0; $x < $count; $x++){ for($x = 0; $x < $count; $x++){
for($y = 0; $y < $rsCount; $y++){ for($y = 0; $y < $rsCount; $y++){
if($x < \count($arr[$y])){ if($x < \count($arr[$y])){