mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-05 03:17:02 +00:00
:octocat: proper names for QRMatrix getters
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user