mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-21 03:05:44 +00:00
:octocat: simplified mask pattern tester call
This commit is contained in:
@@ -25,7 +25,7 @@ class MaskPatternTesterTest extends QRTestAbstract{
|
||||
public function testMaskpattern(){
|
||||
$matrix = (new Byte(new QROptions(['version' => 10]), 'test'))->initMatrix(0, true);
|
||||
|
||||
$this->assertSame(6178, (new MaskPatternTester)->setMatrix($matrix)->testPattern());
|
||||
$this->assertSame(6178, (new MaskPatternTester($matrix))->testPattern());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user