mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-28 02:57:57 +00:00
:octocat: rename QROutputAbstract::base64encode() to toBase64DataURI() to better reflect what it does
This commit is contained in:
@@ -44,7 +44,7 @@ class QRImageWithText extends QRGdImage{
|
||||
}
|
||||
|
||||
if($this->options->imageBase64){
|
||||
$imageData = $this->base64encode($imageData, 'image/'.$this->options->outputType);
|
||||
$imageData = $this->toBase64DataURI($imageData, 'image/'.$this->options->outputType);
|
||||
}
|
||||
|
||||
return $imageData;
|
||||
|
||||
Reference in New Issue
Block a user