mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-08 12:55:59 +00:00
:octocat: rename QROptionsTrait::$imageBase64 to $outputBase64, deprecate old name and redirect calls
This commit is contained in:
@@ -63,7 +63,7 @@ class QRImageWithLogo extends QRGdImage{
|
||||
|
||||
$this->saveToFile($imageData, $file);
|
||||
|
||||
if($this->options->imageBase64){
|
||||
if($this->options->outputBase64){
|
||||
$imageData = $this->toBase64DataURI($imageData, 'image/'.$this->options->outputType);
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ class QRImageWithLogo extends QRGdImage{
|
||||
$options = new QROptions;
|
||||
|
||||
$options->version = 5;
|
||||
$options->imageBase64 = false;
|
||||
$options->outputBase64 = false;
|
||||
$options->scale = 6;
|
||||
$options->imageTransparent = false;
|
||||
$options->drawCircularModules = true;
|
||||
|
||||
Reference in New Issue
Block a user