Skip to content

Commit 59cc602

Browse files
committed
🔧 wow what
1 parent 0f0f5d2 commit 59cc602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QRCode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function setOptions(QROptions $options):QRCode{
122122
throw new QRCodeException('Invalid error correct level: '.$options->eccLevel);
123123
}
124124

125-
if(!is_array($options->imageTransparencyBG || count($options->imageTransparencyBG) < 3)){
125+
if(!is_array($options->imageTransparencyBG) || count($options->imageTransparencyBG) < 3){
126126
$options->imageTransparencyBG = [255, 255, 255];
127127
}
128128

0 commit comments

Comments
 (0)