mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-09-01 21:18:16 +00:00
:octocat: QRInterventionImage: fix deprecation error
This commit is contained in:
@@ -93,7 +93,11 @@ class QRInterventionImage extends QROutputAbstract{
|
||||
$this->image->fill($this->getDefaultModuleValue(false));
|
||||
|
||||
if($this->options->imageTransparent && $this::moduleValueIsValid($this->options->transparencyColor)){
|
||||
$this->image->setBlendingColor($this->prepareModuleValue($this->options->transparencyColor));
|
||||
$this->manager
|
||||
->driver()
|
||||
->config()
|
||||
->setOptions(blendingColor: $this->prepareModuleValue($this->options->transparencyColor))
|
||||
;
|
||||
}
|
||||
|
||||
if($this::moduleValueIsValid($this->options->bgColor)){
|
||||
|
||||
Reference in New Issue
Block a user