mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-27 18:48:13 +00:00
:octocat: this was possible all the time???
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user