mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-24 10:57:53 +00:00
:octocat: move mask pattern parameter
This commit is contained in:
@@ -88,10 +88,11 @@ final class DecoderResult{
|
||||
* Returns a QRMatrix instance with thesettings and data of the reader result
|
||||
*/
|
||||
public function getQRMatrix():QRMatrix{
|
||||
return (new QRMatrix($this->version, $this->eccLevel, $this->maskPattern))
|
||||
return (new QRMatrix($this->version, $this->eccLevel))
|
||||
->initFunctionalPatterns()
|
||||
->writeCodewords($this->rawBytes)
|
||||
->mask()
|
||||
->setFormatInfo($this->maskPattern)
|
||||
->mask($this->maskPattern)
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user