mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 03:58:28 +00:00
:octocat: depedency update
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@
|
||||
"php": "^7.2",
|
||||
"ext-json": "*",
|
||||
"ext-mbstring": "*",
|
||||
"chillerlan/php-settings-container": "^1.0"
|
||||
"chillerlan/php-settings-container": "^1.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^8.0"
|
||||
|
||||
@@ -249,12 +249,7 @@ trait QROptionsTrait{
|
||||
*/
|
||||
public function __set(string $property, $value):void{
|
||||
|
||||
if(\in_array($property, ['eccLevel', 'maskPattern', 'imageTransparencyBG', 'version'], true)){
|
||||
$this->{'set_'.$property}($value);
|
||||
|
||||
return;
|
||||
}
|
||||
elseif($property === 'versionMin'){
|
||||
if($property === 'versionMin'){
|
||||
$this->setMinMaxVersion($value, $this->versionMax);
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user