mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-26 13:58:10 +00:00
🚿 rename QRMatrix::checkTypes() to checkTypeNotIn() and switch return value to better reflect what it actually does
This commit is contained in:
@@ -142,7 +142,7 @@ abstract class QROutputAbstract implements QROutputInterface{
|
||||
foreach($this->matrix->matrix() as $y => $row){
|
||||
foreach($row as $x => $M_TYPE){
|
||||
|
||||
if($this->options->connectPaths && !$this->matrix->checkTypes($x, $y, $this->options->excludeFromConnect)){
|
||||
if($this->options->connectPaths && $this->matrix->checkTypeNotIn($x, $y, $this->options->excludeFromConnect)){
|
||||
// to connect paths we'll redeclare the $M_TYPE to data only
|
||||
$M_TYPE = QRMatrix::M_DATA;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user