Skip to content

Commit

Permalink
CS fixes
Browse files Browse the repository at this point in the history
BigDecimal and BigInteger were mentioned using FQCN in some places, and short names in others; only short names are used now for consistency.
  • Loading branch information
BenMorel committed Jun 4, 2015
1 parent 908e73e commit 4f3095c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions src/BigDecimal.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private function __construct($value, $scale = 0)
*
* @param BigDecimal|number|string $value
*
* @return \Brick\Math\BigDecimal
* @return BigDecimal
*
* @throws \InvalidArgumentException If the number is malformed.
*/
Expand Down Expand Up @@ -194,7 +194,7 @@ public static function max(...$values)
*
* @param BigDecimal|number|string $that
*
* @return \Brick\Math\BigDecimal
* @return BigDecimal
*/
public function plus($that)
{
Expand All @@ -212,7 +212,7 @@ public function plus($that)
*
* @param BigDecimal|number|string $that
*
* @return \Brick\Math\BigDecimal
* @return BigDecimal
*/
public function minus($that)
{
Expand All @@ -230,7 +230,7 @@ public function minus($that)
*
* @param BigDecimal|number|string $that
*
* @return \Brick\Math\BigDecimal
* @return BigDecimal
*/
public function multipliedBy($that)
{
Expand All @@ -249,10 +249,10 @@ public function multipliedBy($that)
* @param integer|null $scale The scale, or null to use the scale of this number.
* @param integer $roundingMode The rounding mode.
*
* @return \Brick\Math\BigDecimal
* @return BigDecimal
*
* @throws \Brick\Math\ArithmeticException If the divisor is zero or rounding is necessary.
* @throws \InvalidArgumentException If the divisor, the scale or the rounding mode is invalid.
* @throws ArithmeticException If the divisor is zero or rounding is necessary.
* @throws \InvalidArgumentException If the divisor, the scale or the rounding mode is invalid.
*/
public function dividedBy($that, $scale = null, $roundingMode = RoundingMode::UNNECESSARY)
{
Expand Down Expand Up @@ -349,7 +349,7 @@ public function power($exponent)
* @param integer $scale
* @param integer $roundingMode
*
* @return \Brick\Math\BigDecimal
* @return BigDecimal
*/
public function withScale($scale, $roundingMode = RoundingMode::UNNECESSARY)
{
Expand Down Expand Up @@ -417,7 +417,7 @@ public function withPointMovedRight($n)
/**
* Returns the absolute value of this number.
*
* @return \Brick\Math\BigDecimal
* @return BigDecimal
*/
public function abs()
{
Expand All @@ -427,7 +427,7 @@ public function abs()
/**
* Returns the negated value of this number.
*
* @return \Brick\Math\BigDecimal
* @return BigDecimal
*/
public function negated()
{
Expand Down
4 changes: 2 additions & 2 deletions src/BigInteger.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function power($exponent)
/**
* Returns the absolute value of this number.
*
* @return \Brick\Math\BigInteger
* @return BigInteger
*/
public function abs()
{
Expand All @@ -351,7 +351,7 @@ public function abs()
/**
* Returns the inverse of this number.
*
* @return \Brick\Math\BigInteger
* @return BigInteger
*/
public function negated()
{
Expand Down

0 comments on commit 4f3095c

Please sign in to comment.