Passed
Push — master ( 4379ac...bba0ab )
by kacper
02:17
created
src/BCMathExtended/BC.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
     public static function dec2bin(string $number, int $base = self::MAX_BASE): string
549 549
     {
550 550
         return self::decBaseHelper(
551
-            $base, static function (int $base) use ($number) {
551
+            $base, static function(int $base) use ($number) {
552 552
             $value = '';
553 553
             if ('0' === $number) {
554 554
                 return chr((int)$number);
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
     public static function bin2dec(string $binary, int $base = self::MAX_BASE): string
620 620
     {
621 621
         return self::decBaseHelper(
622
-            $base, static function (int $base) use ($binary) {
622
+            $base, static function(int $base) use ($binary) {
623 623
             $size = strlen($binary);
624 624
             $return = '0';
625 625
             for ($i = 0; $i < $size; ++$i) {
@@ -646,7 +646,7 @@  discard block
 block discarded – undo
646 646
     public static function roundHalfEven(string $number, int $precision = 0): string
647 647
     {
648 648
         $number = self::convertScientificNotationToString($number);
649
-        if (! self::checkIsFloat($number)) {
649
+        if (!self::checkIsFloat($number)) {
650 650
             return self::checkNumber($number);
651 651
         }
652 652
 
Please login to merge, or discard this patch.