mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 03:58:28 +00:00
:octocat: move mask pattern parameter
This commit is contained in:
@@ -43,9 +43,7 @@ abstract class QROutputTestAbstract extends TestCase{
|
||||
|
||||
$this->options = new QROptions;
|
||||
$this->options->outputType = $this->type;
|
||||
|
||||
$this->matrix = (new QRData($this->options, [new Byte('testdata')]))
|
||||
->writeMatrix(new MaskPattern(MaskPattern::PATTERN_010));
|
||||
$this->matrix = (new QRCode($this->options))->addByteSegment('testdata')->getQRMatrix();
|
||||
$this->outputInterface = new $this->FQN($this->options, $this->matrix);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user