Completed
Pull Request — master (#28)
by kacper
03:13
created
src/BCMathExtended/BC.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
     }
407 407
 
408 408
     /**
409
-     * @param int|string $number
409
+     * @param string $number
410 410
      * @return string
411 411
      */
412 412
     public static function floor($number)
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
     }
455 455
 
456 456
     /**
457
-     * @param int|string $number
457
+     * @param string $number
458 458
      * @return string
459 459
      */
460 460
     public static function ceil($number)
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
     /**
501 501
      * @param string $leftOperand
502 502
      * @param string $modulus
503
-     * @param null $scale
503
+     * @param integer $scale
504 504
      * @return string
505 505
      */
506 506
     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
@@ -664,7 +664,7 @@  discard block
 block discarded – undo
664 664
      */
665 665
     public static function dec2bin($number, $base = self::MAX_BASE)
666 666
     {
667
-        return self::decBaseHelper($base, function ($base) use ($number) {
667
+        return self::decBaseHelper($base, function($base) use ($number) {
668 668
             $value = '';
669 669
             if ('0' === $number) {
670 670
                 return chr($number);
@@ -760,7 +760,7 @@  discard block
 block discarded – undo
760 760
      */
761 761
     public static function bin2dec($value, $base = self::MAX_BASE)
762 762
     {
763
-        return self::decBaseHelper($base, function ($base) use ($value) {
763
+        return self::decBaseHelper($base, function($base) use ($value) {
764 764
             $size = strlen($value);
765 765
             $return = '0';
766 766
             for ($i = 0; $i < $size; ++$i) {
Please login to merge, or discard this patch.