Completed
Pull Request — master (#32)
by kacper
07:23
created
src/BCMathExtended/BC.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -454,8 +454,7 @@  discard block
 block discarded – undo
454 454
         return self::dechex($quotient) . $remainderToHex;
455 455
     }
456 456
 
457
-    public static function bitAnd
458
-    (
457
+    public static function bitAnd(
459 458
         string $leftOperand,
460 459
         string $rightOperand
461 460
     ): string {
@@ -517,7 +516,7 @@  discard block
 block discarded – undo
517 516
     public static function dec2bin(string $number, int $base = self::MAX_BASE): string
518 517
     {
519 518
         return self::decBaseHelper(
520
-            $base, static function (int $base) use ($number) {
519
+            $base, static function(int $base) use ($number) {
521 520
             $value = '';
522 521
             if ('0' === $number) {
523 522
                 return chr((int)$number);
@@ -588,7 +587,7 @@  discard block
 block discarded – undo
588 587
     public static function bin2dec(string $binary, int $base = self::MAX_BASE): string
589 588
     {
590 589
         return self::decBaseHelper(
591
-            $base, static function (int $base) use ($binary) {
590
+            $base, static function(int $base) use ($binary) {
592 591
             $size = strlen($binary);
593 592
             $return = '0';
594 593
             for ($i = 0; $i < $size; ++$i) {
Please login to merge, or discard this patch.