@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | */ |
59 | 59 | public function __construct(int $maskPattern){ |
60 | 60 | |
61 | - if((0b111 & $maskPattern) !== $maskPattern){ |
|
61 | + if((0b111&$maskPattern) !== $maskPattern){ |
|
62 | 62 | throw new QRCodeException('invalid mask pattern'); |
63 | 63 | } |
64 | 64 | |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | $penalty += 3 + ($numSameBitCells - 5); |
150 | 150 | } |
151 | 151 | |
152 | - $numSameBitCells = 1; // Include the cell itself. |
|
152 | + $numSameBitCells = 1; // Include the cell itself. |
|
153 | 153 | $prevBit = $bit; |
154 | 154 | } |
155 | 155 | } |