:octocat: redirect other deprecated vars

This commit is contained in:
smiley
2023-09-05 19:02:53 +02:00
parent a286d66899
commit 66e797b5d8
+37 -1
View File
@@ -557,7 +557,7 @@ trait QROptionsTrait{
}
/*
* redirect calls to new/renamed variables
* redirect calls of deprecated variables to new/renamed property
*/
/**
@@ -596,4 +596,40 @@ trait QROptionsTrait{
return $this->quality;
}
/**
* @deprecated 5.0.0 use QROptions::$transparencyColor instead
* @see \chillerlan\QRCode\QROptions::$transparencyColor
* @codeCoverageIgnore
*/
protected function set_imageTransparencyBG(array $imageTransparencyBG):void{
$this->transparencyColor = $imageTransparencyBG;
}
/**
* @deprecated 5.0.0 use QROptions::$transparencyColor instead
* @see \chillerlan\QRCode\QROptions::$transparencyColor
* @codeCoverageIgnore
*/
protected function get_imageTransparencyBG(){
return $this->transparencyColor;
}
/**
* @deprecated 5.0.0 use QROptions::$bgColor instead
* @see \chillerlan\QRCode\QROptions::$bgColor
* @codeCoverageIgnore
*/
protected function set_imagickBG(string $imagickBG):void{
$this->bgColor = $imagickBG;
}
/**
* @deprecated 5.0.0 use QROptions::$bgColor instead
* @see \chillerlan\QRCode\QROptions::$bgColor
* @codeCoverageIgnore
*/
protected function get_imagickBG(){
return $this->bgColor;
}
}