:octocat: proper names for QRMatrix getters

This commit is contained in:
smiley
2023-04-04 15:00:55 +02:00
parent 284c42db88
commit 1b2aa52d03
20 changed files with 57 additions and 57 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class QRImageWithLogo extends QRGdImage{
$lh = (($this->options->logoSpaceHeight - 2) * $this->options->scale);
// get the qrcode size
$ql = ($this->matrix->size() * $this->options->scale);
$ql = ($this->matrix->getSize() * $this->options->scale);
// scale the logo and copy it over. done!
imagecopyresampled($this->image, $im, (($ql - $lw) / 2), (($ql - $lh) / 2), 0, 0, $lw, $lh, $w, $h);