aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/commerceguys/intl/src/NumberFormat
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/commerceguys/intl/src/NumberFormat')
-rw-r--r--vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php52
-rw-r--r--vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php291
-rw-r--r--vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php2
3 files changed, 69 insertions, 276 deletions
diff --git a/vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php b/vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php
index 8c41a5aa8..1825b1be4 100644
--- a/vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php
+++ b/vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php
@@ -23,91 +23,91 @@ final class NumberFormat
*
* @var string
*/
- protected $locale;
+ protected string $locale;
/**
* The number pattern used to format decimal numbers.
*
* @var string
*/
- protected $decimalPattern;
+ protected string $decimalPattern;
/**
* The number pattern used to format percentages.
*
* @var string
*/
- protected $percentPattern;
+ protected string $percentPattern;
/**
* The number pattern used to format currency amounts.
*
* @var string
*/
- protected $currencyPattern;
+ protected string $currencyPattern;
/**
* The number pattern used to format accounting currency amounts.
*
* @var string
*/
- protected $accountingCurrencyPattern;
+ protected string $accountingCurrencyPattern;
/**
* The numbering system.
*
* @var string
*/
- protected $numberingSystem = self::NUMBERING_SYSTEM_LATIN;
+ protected string $numberingSystem = self::NUMBERING_SYSTEM_LATIN;
/**
* The decimal separator.
*
* @var string
*/
- protected $decimalSeparator = '.';
+ protected string $decimalSeparator = '.';
/**
* The decimal separator for currency amounts.
*
* @var string
*/
- protected $decimalCurrencySeparator = '.';
+ protected string $decimalCurrencySeparator = '.';
/**
* The grouping separator.
*
* @var string
*/
- protected $groupingSeparator = ',';
+ protected string $groupingSeparator = ',';
/**
* The grouping separator for currency amounts.
*
* @var string
*/
- protected $groupingCurrencySeparator = ',';
+ protected string $groupingCurrencySeparator = ',';
/**
* The plus sign.
*
* @var string
*/
- protected $plusSign = '+';
+ protected string $plusSign = '+';
/**
* The number symbols.
*
* @var string
*/
- protected $minusSign = '-';
+ protected string $minusSign = '-';
/**
* The percent sign.
*
* @var string
*/
- protected $percentSign = '%';
+ protected string $percentSign = '%';
/**
* Creates a new NumberFormat instance.
@@ -173,7 +173,7 @@ final class NumberFormat
*
* @return string
*/
- public function getLocale()
+ public function getLocale(): string
{
return $this->locale;
}
@@ -185,7 +185,7 @@ final class NumberFormat
*
* @see http://cldr.unicode.org/translation/number-patterns
*/
- public function getDecimalPattern()
+ public function getDecimalPattern(): string
{
return $this->decimalPattern;
}
@@ -197,7 +197,7 @@ final class NumberFormat
*
* @see http://cldr.unicode.org/translation/number-patterns
*/
- public function getPercentPattern()
+ public function getPercentPattern(): string
{
return $this->percentPattern;
}
@@ -209,7 +209,7 @@ final class NumberFormat
*
* @see http://cldr.unicode.org/translation/number-patterns
*/
- public function getCurrencyPattern()
+ public function getCurrencyPattern(): string
{
return $this->currencyPattern;
}
@@ -223,7 +223,7 @@ final class NumberFormat
*
* @see http://cldr.unicode.org/translation/number-patterns
*/
- public function getAccountingCurrencyPattern()
+ public function getAccountingCurrencyPattern(): string
{
return $this->accountingCurrencyPattern;
}
@@ -235,7 +235,7 @@ final class NumberFormat
*
* @return string
*/
- public function getNumberingSystem()
+ public function getNumberingSystem(): string
{
return $this->numberingSystem;
}
@@ -245,7 +245,7 @@ final class NumberFormat
*
* @return string
*/
- public function getDecimalSeparator()
+ public function getDecimalSeparator(): string
{
return $this->decimalSeparator;
}
@@ -255,7 +255,7 @@ final class NumberFormat
*
* @return string
*/
- public function getDecimalCurrencySeparator()
+ public function getDecimalCurrencySeparator(): string
{
return $this->decimalCurrencySeparator;
}
@@ -265,7 +265,7 @@ final class NumberFormat
*
* @return string
*/
- public function getGroupingSeparator()
+ public function getGroupingSeparator(): string
{
return $this->groupingSeparator;
}
@@ -275,7 +275,7 @@ final class NumberFormat
*
* @return string
*/
- public function getGroupingCurrencySeparator()
+ public function getGroupingCurrencySeparator(): string
{
return $this->groupingCurrencySeparator;
}
@@ -285,7 +285,7 @@ final class NumberFormat
*
* @return string
*/
- public function getPlusSign()
+ public function getPlusSign(): string
{
return $this->plusSign;
}
@@ -295,7 +295,7 @@ final class NumberFormat
*
* @return string
*/
- public function getMinusSign()
+ public function getMinusSign(): string
{
return $this->minusSign;
}
@@ -305,7 +305,7 @@ final class NumberFormat
*
* @return string
*/
- public function getPercentSign()
+ public function getPercentSign(): string
{
return $this->percentSign;
}
diff --git a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php
index 59647616f..baedf2622 100644
--- a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php
+++ b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php
@@ -14,14 +14,14 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
*
* @var string
*/
- protected $fallbackLocale;
+ protected string $fallbackLocale;
/**
* Creates a NumberFormatRepository instance.
*
* @param string $fallbackLocale The fallback locale. Defaults to 'en'.
*/
- public function __construct($fallbackLocale = 'en')
+ public function __construct(string $fallbackLocale = 'en')
{
$this->fallbackLocale = $fallbackLocale;
}
@@ -29,7 +29,7 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
/**
* {@inheritdoc}
*/
- public function get($locale)
+ public function get(string $locale): NumberFormat
{
$definitions = $this->getDefinitions();
$availableLocales = array_keys($definitions);
@@ -47,7 +47,7 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
*
* @return array The processed definition.
*/
- protected function processDefinition($locale, array $definition)
+ protected function processDefinition(string $locale, array $definition)
{
$definition['locale'] = $locale;
// The generation script strips all keys that have the same values
@@ -66,17 +66,14 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
* @return array
* The number format definitions, keyed by locale.
*/
- protected function getDefinitions()
+ protected function getDefinitions(): array
{
return [
'af' => [
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
- 'ann' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
+ 'am' => [],
'ar' => [
'numbering_system' => 'arab',
'currency_pattern' => '‏#,##0.00 ¤',
@@ -143,24 +140,12 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'percent_pattern' => '#,##,##0%',
'currency_pattern' => '¤ #,##,##0.00',
],
- 'ast' => [
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
- 'decimal_separator' => ',',
- 'grouping_separator' => '.',
- ],
'az' => [
'currency_pattern' => '#,##0.00 ¤',
'accounting_currency_pattern' => '#,##0.00 ¤',
'decimal_separator' => ',',
'grouping_separator' => '.',
],
- 'az-Cyrl' => [
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
- 'decimal_separator' => ',',
- 'grouping_separator' => '.',
- ],
'be' => [
'percent_pattern' => '#,##0 %',
'currency_pattern' => '#,##0.00 ¤',
@@ -174,15 +159,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
- 'bgc' => [
- 'numbering_system' => 'deva',
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
- 'bho' => [
- 'numbering_system' => 'deva',
- 'accounting_currency_pattern' => '¤#,##0.00',
- ],
'bn' => [
'numbering_system' => 'beng',
'decimal_pattern' => '#,##,##0.###',
@@ -195,23 +171,7 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'currency_pattern' => '¤#,##,##0.00',
'accounting_currency_pattern' => '¤#,##,##0.00;(¤#,##,##0.00)',
],
- 'bo' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
- 'brx' => [
- 'decimal_pattern' => '#,##,##0.###',
- 'percent_pattern' => '#,##,##0%',
- 'currency_pattern' => '¤ #,##,##0.00',
- ],
'bs' => [
- 'percent_pattern' => '#,##0 %',
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
- 'decimal_separator' => ',',
- 'grouping_separator' => '.',
- ],
- 'bs-Cyrl' => [
'currency_pattern' => '#,##0.00 ¤',
'accounting_currency_pattern' => '#,##0.00 ¤',
'decimal_separator' => ',',
@@ -224,11 +184,7 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => '.',
],
- 'ce' => [
- 'percent_pattern' => '#,##0 %',
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
- ],
+ 'chr' => [],
'cs' => [
'percent_pattern' => '#,##0 %',
'currency_pattern' => '#,##0.00 ¤',
@@ -236,13 +192,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
- 'cv' => [
- 'percent_pattern' => '#,##0 %',
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
- 'decimal_separator' => ',',
- 'grouping_separator' => ' ',
- ],
'cy' => [],
'da' => [
'percent_pattern' => '#,##0 %',
@@ -261,29 +210,27 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'de-AT' => [
'percent_pattern' => '#,##0 %',
'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
'decimal_separator' => ',',
'grouping_separator' => ' ',
'grouping_currency_separator' => '.',
],
'de-CH' => [
'currency_pattern' => '¤ #,##0.00;¤-#,##0.00',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '¤ #,##0.00;¤-#,##0.00',
'grouping_separator' => '’',
],
'de-LI' => [
'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
'grouping_separator' => '’',
],
- 'doi' => [
- 'accounting_currency_pattern' => '¤#,##0.00',
- ],
- 'dz' => [
- 'decimal_pattern' => '#,##,##0.###',
- 'percent_pattern' => '#,##,##0 %',
- 'currency_pattern' => '¤#,##,##0.00',
- 'accounting_currency_pattern' => '¤#,##,##0.00',
+ 'dsb' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
],
'el' => [
'currency_pattern' => '#,##0.00 ¤',
@@ -341,6 +288,10 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
+ 'en-ID' => [
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
'en-IN' => [
'decimal_pattern' => '#,##,##0.###',
'percent_pattern' => '#,##,##0%',
@@ -369,10 +320,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => '.',
],
- 'en-ZA' => [
- 'decimal_separator' => ',',
- 'grouping_separator' => ' ',
- ],
'es' => [
'percent_pattern' => '#,##0 %',
'currency_pattern' => '#,##0.00 ¤',
@@ -381,84 +328,68 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'grouping_separator' => '.',
],
'es-419' => [
- 'percent_pattern' => '#,##0 %',
'accounting_currency_pattern' => '¤#,##0.00',
],
'es-AR' => [
- 'percent_pattern' => '#,##0 %',
'currency_pattern' => '¤ #,##0.00',
'accounting_currency_pattern' => '¤ #,##0.00;(¤ #,##0.00)',
'decimal_separator' => ',',
'grouping_separator' => '.',
],
'es-BO' => [
- 'percent_pattern' => '#,##0 %',
'accounting_currency_pattern' => '¤#,##0.00',
'decimal_separator' => ',',
'grouping_separator' => '.',
],
'es-CL' => [
- 'percent_pattern' => '#,##0 %',
'currency_pattern' => '¤#,##0.00;¤-#,##0.00',
- 'accounting_currency_pattern' => '¤#,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00;¤-#,##0.00',
'decimal_separator' => ',',
'grouping_separator' => '.',
],
'es-CO' => [
- 'percent_pattern' => '#,##0 %',
'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤#,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
'decimal_separator' => ',',
'grouping_separator' => '.',
],
'es-CR' => [
- 'percent_pattern' => '#,##0 %',
'accounting_currency_pattern' => '¤#,##0.00',
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
- 'es-DO' => [
- 'percent_pattern' => '#,##0 %',
- ],
+ 'es-DO' => [],
'es-EC' => [
- 'percent_pattern' => '#,##0 %',
'currency_pattern' => '¤#,##0.00;¤-#,##0.00',
- 'accounting_currency_pattern' => '¤#,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00;¤-#,##0.00',
'decimal_separator' => ',',
'grouping_separator' => '.',
],
'es-GQ' => [
'percent_pattern' => '#,##0 %',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '¤#,##0.00',
'decimal_separator' => ',',
'grouping_separator' => '.',
],
- 'es-MX' => [
- 'accounting_currency_pattern' => '¤#,##0.00',
- ],
'es-PE' => [
- 'percent_pattern' => '#,##0 %',
'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤#,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00',
],
'es-PY' => [
- 'percent_pattern' => '#,##0 %',
'currency_pattern' => '¤ #,##0.00;¤ -#,##0.00',
- 'accounting_currency_pattern' => '¤#,##0.00',
+ 'accounting_currency_pattern' => '¤ #,##0.00;¤ -#,##0.00',
'decimal_separator' => ',',
'grouping_separator' => '.',
],
'es-UY' => [
- 'percent_pattern' => '#,##0 %',
'currency_pattern' => '¤ #,##0.00',
'accounting_currency_pattern' => '¤ #,##0.00;(¤ #,##0.00)',
'decimal_separator' => ',',
'grouping_separator' => '.',
],
'es-VE' => [
- 'percent_pattern' => '#,##0 %',
'currency_pattern' => '¤#,##0.00;¤-#,##0.00',
- 'accounting_currency_pattern' => '¤#,##0.00',
+ 'accounting_currency_pattern' => '¤#,##0.00;¤-#,##0.00',
'decimal_separator' => ',',
'grouping_separator' => '.',
],
@@ -541,10 +472,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => '.',
],
- 'frr' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
'ga' => [],
'gd' => [],
'gl' => [
@@ -554,13 +481,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => '.',
],
- 'gsw' => [
- 'percent_pattern' => '#,##0 %',
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
- 'grouping_separator' => '’',
- 'minus_sign' => '−',
- ],
'gu' => [
'decimal_pattern' => '#,##,##0.###',
'percent_pattern' => '#,##,##0%',
@@ -593,6 +513,13 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'grouping_separator' => '.',
'minus_sign' => '−',
],
+ 'hsb' => [
+ 'percent_pattern' => '#,##0 %',
+ 'currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'decimal_separator' => ',',
+ 'grouping_separator' => '.',
+ ],
'hu' => [
'currency_pattern' => '#,##0.00 ¤',
'accounting_currency_pattern' => '#,##0.00 ¤',
@@ -610,6 +537,7 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => '.',
],
+ 'ig' => [],
'is' => [
'currency_pattern' => '#,##0.00 ¤',
'accounting_currency_pattern' => '#,##0.00 ¤',
@@ -624,7 +552,7 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
],
'it-CH' => [
'currency_pattern' => '¤ #,##0.00;¤-#,##0.00',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
+ 'accounting_currency_pattern' => '¤ #,##0.00;¤-#,##0.00',
'grouping_separator' => '’',
],
'ja' => [],
@@ -643,45 +571,17 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'km' => [
'currency_pattern' => '#,##0.00¤',
'accounting_currency_pattern' => '#,##0.00¤;(#,##0.00¤)',
- 'decimal_separator' => ',',
- 'grouping_separator' => '.',
],
'ko' => [],
'kok' => [
'currency_pattern' => '¤ #,##0.00',
],
- 'ks' => [
- 'numbering_system' => 'arabext',
- 'accounting_currency_pattern' => '¤#,##0.00',
- 'decimal_separator' => '٫',
- 'grouping_separator' => '٬',
- 'plus_sign' => '‎+‎',
- 'minus_sign' => '‎-‎',
- 'percent_sign' => '٪',
- ],
- 'ks-Deva' => [
- 'accounting_currency_pattern' => '¤#,##0.00',
- ],
- 'ku' => [
- 'percent_pattern' => '%#,##0',
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
- 'decimal_separator' => ',',
- 'grouping_separator' => '.',
- ],
'ky' => [
'currency_pattern' => '#,##0.00 ¤',
'accounting_currency_pattern' => '#,##0.00 ¤',
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
- 'lb' => [
- 'percent_pattern' => '#,##0 %',
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
- 'decimal_separator' => ',',
- 'grouping_separator' => '.',
- ],
'lo' => [
'currency_pattern' => '¤#,##0.00;¤-#,##0.00',
'accounting_currency_pattern' => '¤#,##0.00;¤-#,##0.00',
@@ -702,18 +602,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
- 'mai' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
- 'mdf' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
- 'mg' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤#,##0.00',
- ],
'mk' => [
'percent_pattern' => '#,##0 %',
'currency_pattern' => '#,##0.00 ¤',
@@ -721,18 +609,10 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => '.',
],
- 'ml' => [
- 'decimal_pattern' => '#,##,##0.###',
- ],
'mn' => [
'currency_pattern' => '¤ #,##0.00',
'accounting_currency_pattern' => '¤ #,##0.00',
],
- 'mni' => [
- 'numbering_system' => 'beng',
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
'mr' => [
'numbering_system' => 'deva',
'decimal_pattern' => '#,##,##0.###',
@@ -748,9 +628,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => '.',
],
- 'mt' => [
- 'accounting_currency_pattern' => '¤#,##0.00',
- ],
'my' => [
'currency_pattern' => '#,##0.00 ¤',
'accounting_currency_pattern' => '¤ #,##0.00',
@@ -770,7 +647,7 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
],
'nn' => [
'percent_pattern' => '#,##0 %',
- 'currency_pattern' => '#,##0.00 ¤',
+ 'currency_pattern' => '#,##0.00 ¤;-#,##0.00 ¤',
'accounting_currency_pattern' => '#,##0.00 ¤',
'decimal_separator' => ',',
'grouping_separator' => ' ',
@@ -778,15 +655,14 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
],
'no' => [
'percent_pattern' => '#,##0 %',
- 'currency_pattern' => '¤ #,##0.00;¤ -#,##0.00',
+ 'currency_pattern' => '#,##0.00 ¤;-#,##0.00 ¤',
'accounting_currency_pattern' => '¤ #,##0.00;(¤ #,##0.00)',
'decimal_separator' => ',',
'grouping_separator' => ' ',
'minus_sign' => '−',
],
- 'oc' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
+ 'or' => [
+ 'decimal_pattern' => '#,##,##0.###',
],
'pa' => [
'decimal_pattern' => '#,##,##0.###',
@@ -794,20 +670,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'currency_pattern' => '¤#,##,##0.00',
'accounting_currency_pattern' => '¤ #,##0.00',
],
- 'pa-Arab' => [
- 'numbering_system' => 'arabext',
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- 'decimal_separator' => '٫',
- 'grouping_separator' => '٬',
- 'plus_sign' => '‎+‎',
- 'minus_sign' => '‎-‎',
- 'percent_sign' => '٪',
- ],
- 'pis' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
'pl' => [
'currency_pattern' => '#,##0.00 ¤',
'accounting_currency_pattern' => '#,##0.00 ¤;(#,##0.00 ¤)',
@@ -835,18 +697,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
- 'raj' => [
- 'numbering_system' => 'deva',
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
- 'rn' => [
- 'percent_pattern' => '#,##0 %',
- 'currency_pattern' => '#,##0.00¤',
- 'accounting_currency_pattern' => '#,##0.00¤',
- 'decimal_separator' => ',',
- 'grouping_separator' => '.',
- ],
'ro' => [
'percent_pattern' => '#,##0 %',
'currency_pattern' => '#,##0.00 ¤',
@@ -861,30 +711,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
- 'rw' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- 'decimal_separator' => ',',
- 'grouping_separator' => '.',
- ],
- 'sat' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
- 'sd' => [
- 'numbering_system' => 'arab',
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
- 'decimal_separator' => '٫',
- 'grouping_separator' => '٬',
- 'plus_sign' => '؜+',
- 'minus_sign' => '؜-',
- 'percent_sign' => '٪؜',
- ],
- 'sd-Deva' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
'si' => [],
'sk' => [
'percent_pattern' => '#,##0 %',
@@ -901,10 +727,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'grouping_separator' => '.',
'minus_sign' => '−',
],
- 'sms' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
'so' => [],
'sq' => [
'currency_pattern' => '#,##0.00 ¤',
@@ -957,12 +779,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_pattern' => '#,##,##0.###',
'currency_pattern' => '¤#,##,##0.00',
],
- 'tg' => [
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
- 'decimal_separator' => ',',
- 'grouping_separator' => ' ',
- ],
'th' => [],
'tk' => [
'percent_pattern' => '#,##0 %',
@@ -971,14 +787,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
- 'to' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
- 'tok' => [
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- ],
'tr' => [
'percent_pattern' => '%#,##0',
'decimal_separator' => ',',
@@ -1007,22 +815,6 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'decimal_separator' => ',',
'grouping_separator' => ' ',
],
- 'uz-Arab' => [
- 'numbering_system' => 'arabext',
- 'currency_pattern' => '¤ #,##0.00',
- 'accounting_currency_pattern' => '¤ #,##0.00',
- 'decimal_separator' => '٫',
- 'grouping_separator' => '٬',
- 'plus_sign' => '‎+‎',
- 'minus_sign' => '‎-‎',
- 'percent_sign' => '٪',
- ],
- 'uz-Cyrl' => [
- 'currency_pattern' => '#,##0.00 ¤',
- 'accounting_currency_pattern' => '#,##0.00 ¤',
- 'decimal_separator' => ',',
- 'grouping_separator' => ' ',
- ],
'vi' => [
'currency_pattern' => '#,##0.00 ¤',
'accounting_currency_pattern' => '#,##0.00 ¤',
@@ -1033,6 +825,7 @@ class NumberFormatRepository implements NumberFormatRepositoryInterface
'yue-Hans' => [],
'zh' => [],
'zh-Hant' => [],
+ 'zu' => [],
];
}
}
diff --git a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php
index b8f7facc4..5675c941e 100644
--- a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php
+++ b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php
@@ -14,5 +14,5 @@ interface NumberFormatRepositoryInterface
*
* @return NumberFormat
*/
- public function get($locale);
+ public function get(string $locale): NumberFormat;
}