mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-24 19:37:57 +00:00
✨ change QRMatrix::checkTypeNotIn() to checkTypeIn()
This commit is contained in:
@@ -163,7 +163,7 @@ abstract class QROutputAbstract implements QROutputInterface{
|
||||
foreach($row as $x => $M_TYPE){
|
||||
$M_TYPE_LAYER = $M_TYPE;
|
||||
|
||||
if($this->options->connectPaths && $this->matrix->checkTypeNotIn($x, $y, $this->options->excludeFromConnect)){
|
||||
if($this->options->connectPaths && !$this->matrix->checkTypeIn($x, $y, $this->options->excludeFromConnect)){
|
||||
// to connect paths we'll redeclare the $M_TYPE_LAYER to data only
|
||||
$M_TYPE_LAYER = QRMatrix::M_DATA;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user