From b326cd8e781853f649b4ebdf66150e9ff154c364 Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Tue, 14 Jul 2015 12:00:15 +0200 Subject: [PATCH] Fix copy/paste mistakes in docblocks --- src/BigDecimal.php | 3 +-- src/BigRational.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/BigDecimal.php b/src/BigDecimal.php index 8c08230..8efe1c0 100644 --- a/src/BigDecimal.php +++ b/src/BigDecimal.php @@ -4,7 +4,6 @@ use Brick\Math\Exception\ArithmeticException; use Brick\Math\Exception\DivisionByZeroException; -use Brick\Math\Exception\RoundingNecessaryException; use Brick\Math\Internal\Calculator; /** @@ -51,7 +50,7 @@ protected function __construct($value, $scale = 0) * * @return BigDecimal * - * @throws ArithmeticException If the value cannot be converted to a BigInteger. + * @throws ArithmeticException If the value cannot be converted to a BigDecimal. */ public static function of($value) { diff --git a/src/BigRational.php b/src/BigRational.php index 880d98a..cc3456f 100644 --- a/src/BigRational.php +++ b/src/BigRational.php @@ -61,7 +61,7 @@ protected function __construct(BigInteger $numerator, BigInteger $denominator, $ * * @return BigRational * - * @throws ArithmeticException If the value cannot be converted to a BigInteger. + * @throws ArithmeticException If the value cannot be converted to a BigRational. */ public static function of($value) {