| @@ -314,8 +314,7 @@ discard block | ||
| 314 | 314 | self::mul( | 
| 315 | 315 | self::floor(self::div($number, $multiply, self::getDecimalsLengthFromNumber($number))), $multiply, | 
| 316 | 316 | $precision | 
| 317 | - ) : | |
| 318 | - self::div( | |
| 317 | + ) : self::div( | |
| 319 | 318 | self::floor(self::mul($number, $multiply, self::getDecimalsLengthFromNumber($number))), $multiply, | 
| 320 | 319 | $precision | 
| 321 | 320 | ); | 
| @@ -362,8 +361,7 @@ discard block | ||
| 362 | 361 | self::mul( | 
| 363 | 362 | self::ceil(self::div($number, $multiply, self::getDecimalsLengthFromNumber($number))), $multiply, | 
| 364 | 363 | $precision | 
| 365 | - ) : | |
| 366 | - self::div( | |
| 364 | + ) : self::div( | |
| 367 | 365 | self::ceil(self::mul($number, $multiply, self::getDecimalsLengthFromNumber($number))), $multiply, | 
| 368 | 366 | $precision | 
| 369 | 367 | ); | 
| @@ -406,7 +406,7 @@ discard block | ||
| 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 | ||
| 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 | ||
| 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) |