Skip to content

Commit

Permalink
Updates to the currency provider (#213)
Browse files Browse the repository at this point in the history
## Description



## Checklist
- [ ] Updated CHANGELOG files
- [ ] Updated Documentation
- [ ] Unit Tests Created
- [ ] php-cs-fixer
  • Loading branch information
JoshuaEstes authored Aug 5, 2024
1 parent 8ba0698 commit a7b87d0
Showing 1 changed file with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,24 @@ final class CurrencyProvider extends AbstractCurrencyProvider
{
public function getCurrencies(): iterable
{
// @todo Add all the currencies
yield Currency::AED(784, 2);
yield Currency::AFN(971, 2);
yield Currency::ALL(8, 2);
yield Currency::AMD(51, 2);
yield Currency::ANG(532, 2);
yield Currency::AOA(973, 2);
yield Currency::ARS(32, 2);
yield Currency::AUD(36, 2);
yield Currency::AWG(533, 2);
yield Currency::AZN(944, 2);

yield Currency::CAD(124, 2);
yield Currency::CHF(756, 2);
yield Currency::CNY(156, 2);
yield Currency::EUR(978, 2);
yield Currency::JPY(392, 0);
yield Currency::RUB(643, 0);
yield Currency::USD(840, 2);
yield Currency::USN(997, 2);
}
}

0 comments on commit a7b87d0

Please sign in to comment.