Completed
Pull Request — master (#8)
by Mr
03:44
created
src/Helpers/BinaryStringHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,14 +43,14 @@
 block discarded – undo
43 43
             if (($value & $mask) || $buffer !== '') {
44 44
                 // Get the current byte by shifting it to least significant position and add it to the string
45 45
                 // 0xFF12345678 => 0xFF
46
-                $byte   = $value >> (8 * $i);
46
+                $byte = $value >> (8 * $i);
47 47
                 $buffer .= chr($byte);
48 48
 
49 49
                 // Set the most significant byte to 0 so we can restart the process being shure
50 50
                 // that the value is left padded with 0
51 51
                 // 0xFF12345678 => 0x12345678
52 52
                 // -1 = 0xFFFFF.... (number of F depend of PHP_INT_SIZE )
53
-                $mask  = -1 >> ((PHP_INT_SIZE - $i) * 8);
53
+                $mask = -1 >> ((PHP_INT_SIZE - $i) * 8);
54 54
                 $value &= $mask;
55 55
             }
56 56
         }
Please login to merge, or discard this patch.