:octocat: this was possible all the time???

This commit is contained in:
smiley
2023-06-21 14:11:28 +02:00
parent 12d0edfd53
commit cf92e49958
4 changed files with 6 additions and 15 deletions
+1 -3
View File
@@ -339,9 +339,7 @@ class QRMatrix{
public function checkNeighbours(int $x, int $y, int $M_TYPE = null):int{
$bits = 0;
foreach($this::neighbours as $bit => $coord){
[$ix, $iy] = $coord;
foreach($this::neighbours as $bit => [$ix, $iy]){
$ix += $x;
$iy += $y;