mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-28 02:57:57 +00:00
:octocat: QRMatrix: ignore logo w/h 0, throw on invalid dimensions
This commit is contained in:
@@ -344,7 +344,7 @@ final class QRMatrixTest extends TestCase{
|
||||
$o->version = 5;
|
||||
$o->eccLevel = EccLevel::H;
|
||||
|
||||
(new QRCode($o))->addByteSegment('testdata')->getMatrix()->setLogoSpace(50, 50);
|
||||
(new QRCode($o))->addByteSegment('testdata')->getMatrix()->setLogoSpace(37, 37);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user