Skip to content

Commit 4c20449

Browse files
committed
:octocat: QRInterventionImage: fix deprecation error
1 parent 39b54c8 commit 4c20449

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Output/QRInterventionImage.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ public function dump(string $file = null):string|ImageInterface{
9393
$this->image->fill($this->getDefaultModuleValue(false));
9494

9595
if($this->options->imageTransparent && $this::moduleValueIsValid($this->options->transparencyColor)){
96-
$this->image->setBlendingColor($this->prepareModuleValue($this->options->transparencyColor));
96+
$this->manager
97+
->driver()
98+
->config()
99+
->setOptions(blendingColor: $this->prepareModuleValue($this->options->transparencyColor))
100+
;
97101
}
98102

99103
if($this::moduleValueIsValid($this->options->bgColor)){

0 commit comments

Comments
 (0)