Completed
Push — master ( 4df672...8c0a79 )
by smiley
02:20
created
src/QRCode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@
 block discarded – undo
289 289
 		$len = strlen($string);
290 290
 
291 291
 		while($i + 1 < $len){
292
-			$c = ((0xff & ord($string[$i])) << 8) | (0xff & ord($string[$i + 1]));
292
+			$c = ((0xff&ord($string[$i])) << 8)|(0xff&ord($string[$i + 1]));
293 293
 
294 294
 			if(!($c >= 0x8140 && $c <= 0x9FFC) && !($c >= 0xE040 && $c <= 0xEBBF)){
295 295
 				return false;
Please login to merge, or discard this patch.
src/Helpers/BitBuffer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 	public function put(int $num, int $length):BitBuffer{
46 46
 
47 47
 		for($i = 0; $i < $length; $i++){
48
-			$this->putBit((($num >> ($length - $i - 1)) & 1) === 1);
48
+			$this->putBit((($num >> ($length - $i - 1))&1) === 1);
49 49
 		}
50 50
 
51 51
 		return $this;
Please login to merge, or discard this patch.