Skip to content

Commit

Permalink
Non-ISO currency codes are accepted in MoneyBag::getAmount()
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jun 4, 2020
1 parent ee7c9c7 commit ce7d842
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/MoneyBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace Brick\Money;

use Brick\Math\BigRational;
use Brick\Money\Tests\CurrencyTest;

/**
* Container for monies in different currencies.
Expand All @@ -24,7 +23,7 @@ final class MoneyBag implements MoneyContainer
/**
* Returns the amount in the given currency contained in the bag, as a rational number.
*
* @param Currency|string|int $currency The Currency instance, ISO currency code or ISO numeric currency code.
* @param Currency|string|int $currency The Currency instance, currency code or ISO numeric currency code.
*
* @return BigRational
*/
Expand Down

0 comments on commit ce7d842

Please sign in to comment.