@@ -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'; |
@@ -397,7 +397,7 @@ discard block |
||
| 397 | 397 | */ |
| 398 | 398 | protected function set_eccLevel(int $eccLevel):void{ |
| 399 | 399 | |
| 400 | - if((0b11 & $eccLevel) !== $eccLevel){ |
|
| 400 | + if((0b11&$eccLevel) !== $eccLevel){ |
|
| 401 | 401 | throw new QRCodeException(sprintf('Invalid error correct level: %s', $eccLevel)); |
| 402 | 402 | } |
| 403 | 403 | |
@@ -480,7 +480,7 @@ discard block |
||
| 480 | 480 | /** |
| 481 | 481 | * clamp the logo space values between 0 and maximum length (177 modules at version 40) |
| 482 | 482 | */ |
| 483 | - protected function clampLogoSpaceValue(?int $value):?int{ |
|
| 483 | + protected function clampLogoSpaceValue(?int $value): ?int{ |
|
| 484 | 484 | |
| 485 | 485 | if($value === null){ |
| 486 | 486 | return null; |