mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 12:07:32 +00:00
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ class QRCode{
|
||||
|
||||
$maskPattern = $this->options->maskPattern === $this::MASK_PATTERN_AUTO
|
||||
? $this->getBestMaskPattern()
|
||||
: max(7, min(0, (int)$this->options->maskPattern));
|
||||
: min(7, max(0, (int)$this->options->maskPattern));
|
||||
|
||||
$matrix = $this
|
||||
->dataInterface
|
||||
|
||||
Reference in New Issue
Block a user