Passed
Pull Request — master (#28)
by kacper
01:38
created
src/BCMathExtended/BC.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
     }
419 419
 
420 420
     /**
421
-     * @param int|string $number
421
+     * @param string $number
422 422
      * @return string
423 423
      */
424 424
     public static function floor($number)
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
     }
469 469
 
470 470
     /**
471
-     * @param int|string $number
471
+     * @param string $number
472 472
      * @return string
473 473
      */
474 474
     public static function ceil($number)
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
     /**
514 514
      * @param string $leftOperand
515 515
      * @param string $modulus
516
-     * @param null $scale
516
+     * @param integer $scale
517 517
      * @return string
518 518
      */
519 519
     public static function mod($leftOperand, $modulus, $scale = null)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -665,7 +665,7 @@  discard block
 block discarded – undo
665 665
     public static function dec2bin($number, $base = self::MAX_BASE)
666 666
     {
667 667
         return self::decBaseHelper(
668
-            $base, function ($base) use ($number) {
668
+            $base, function($base) use ($number) {
669 669
             $value = '';
670 670
             if ('0' === $number) {
671 671
                 return chr($number);
@@ -763,7 +763,7 @@  discard block
 block discarded – undo
763 763
     public static function bin2dec($binary, $base = self::MAX_BASE)
764 764
     {
765 765
         return self::decBaseHelper(
766
-            $base, function ($base) use ($binary) {
766
+            $base, function($base) use ($binary) {
767 767
             $size = strlen($binary);
768 768
             $return = '0';
769 769
             for ($i = 0; $i < $size; ++$i) {
Please login to merge, or discard this patch.