:octocat: renamed QRData:initMatrix() to writeMatrix()

This commit is contained in:
codemasher
2021-01-16 20:07:57 +01:00
parent b11f4ef61e
commit bde04254de
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class QRData{
/**
* returns a fresh matrix object with the data written for the given $maskPattern
*/
public function initMatrix(int $maskPattern, bool $test = null):QRMatrix{
public function writeMatrix(int $maskPattern, bool $test = null):QRMatrix{
$data = (new ReedSolomonEncoder)->interleaveEcBytes($this->bitBuffer, $this->version, $this->eccLevel);
return (new QRMatrix($this->version, $this->eccLevel))