@@ -70,7 +70,7 @@ |
||
| 70 | 70 | * @return string|\Imagick |
| 71 | 71 | */ |
| 72 | 72 | public function dump(string $file = null){ |
| 73 | - $file ??= $this->options->cachefile; |
|
| 73 | + $file ??= $this->options->cachefile; |
|
| 74 | 74 | $this->imagick = new Imagick; |
| 75 | 75 | |
| 76 | 76 | $bgColor = $this->options->imageTransparent ? 'transparent' : 'white'; |
@@ -393,7 +393,7 @@ |
||
| 393 | 393 | */ |
| 394 | 394 | protected function set_eccLevel(int $eccLevel):void{ |
| 395 | 395 | |
| 396 | - if((0b11 & $eccLevel) !== $eccLevel){ |
|
| 396 | + if((0b11&$eccLevel) !== $eccLevel){ |
|
| 397 | 397 | throw new QRCodeException(sprintf('Invalid error correct level: %s', $eccLevel)); |
| 398 | 398 | } |
| 399 | 399 | |