|
@@ -397,7 +397,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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; |
Please login to merge, or discard this patch.