Skip to content

Commit ce6cd5c

Browse files
committed
Add Czech koruna as currency
1 parent 6dd00a2 commit ce6cd5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Utils/Currencies.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public static function getCurrency(string $iso): array|null
4949
"TWD" => ["name" => "New Taiwan Dollar", "numeric_code" => "901"],
5050
"THB" => ["name" => "Baht", "numeric_code" => "764"],
5151
"MYR" => ["name" => "Malaysian Ringgit", "numeric_code" => "458"],
52+
"CZK" => ["name" => "Czech Koruna", "numeric_code" => "203"],
5253
];
5354

5455
/**
@@ -74,7 +75,7 @@ public static function getAllSymbols()
7475

7576
return collect(array_keys(self::$currencyList))
7677
->mapWithKeys(function($iso) use(&$formatter, &$count){
77-
if( is_null($formatter) ){
78+
if( is_null($formatter) ){
7879
$formatter = App::make(NumberFormatter::class, ['iso' => $iso]);
7980
}
8081
$formatter->setTextAttribute(NumberFormatter::CURRENCY_CODE, $iso);

0 commit comments

Comments
 (0)