Skip to content

Commit

Permalink
Add currency symbol for zimbabwe gold (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinsFrank authored Jun 28, 2024
1 parent 2fcc166 commit b7cf95c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Currency/CurrencySymbol.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ enum CurrencySymbol: string
case Won = '';
case Yen = '¥';
case zl_With_Stroke = '';
case ZiG = 'ZiG';

public static function forCurrency(CurrencyAlpha3|CurrencyName|CurrencyNumeric $currency): ?self
{
Expand Down Expand Up @@ -294,6 +295,7 @@ public static function forCurrency(CurrencyAlpha3|CurrencyName|CurrencyNumeric $
CurrencyAlpha3::Yuan_Renminbi => self::Yen,
CurrencyAlpha3::Zambian_Kwacha => self::K,
CurrencyAlpha3::Zimbabwe_Dollar => self::Dollar,
CurrencyAlpha3::Zimbabwe_Gold => self::ZiG,
CurrencyAlpha3::Zloty => self::zl_With_Stroke,
CurrencyAlpha3::Kuna => self::kn,
};
Expand Down

0 comments on commit b7cf95c

Please sign in to comment.