aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-12-04 10:25:11 +0000
committerMario <mario@mariovavti.com>2019-12-04 10:25:11 +0000
commitbde429cff649237984903a252ba1a718e6d74f53 (patch)
treeb2b2570159cfb37689e6ce3b96c3b1b988d676cc /vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php
parentcc9f41df5f83bcab435d6fb941b5a8f5b1457037 (diff)
parent4c8d33d1eb2a804aa70a7bc677d6c73d0d94816b (diff)
downloadvolse-hubzilla-4.6.tar.gz
volse-hubzilla-4.6.tar.bz2
volse-hubzilla-4.6.zip
Merge branch '4.6RC'4.6
Diffstat (limited to 'vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php')
-rw-r--r--vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php30
1 files changed, 13 insertions, 17 deletions
diff --git a/vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php b/vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php
index f0a091969..eb726ddb8 100644
--- a/vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php
+++ b/vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php
@@ -8,34 +8,30 @@ namespace CommerceGuys\Intl\Currency;
interface CurrencyRepositoryInterface
{
/**
- * Returns a currency instance matching the provided currency code.
+ * Gets a currency matching the provided currency code.
*
- * @param string $currencyCode The currency code.
- * @param string $locale The locale (i.e. fr-FR).
- * @param string $fallbackLocale A fallback locale (i.e "en").
+ * @param string $currencyCode The currency code.
+ * @param string $locale The locale (i.e. fr-FR).
*
- * @return CurrencyInterface
+ * @return Currency
*/
- public function get($currencyCode, $locale = null, $fallbackLocale = null);
+ public function get($currencyCode, $locale = null);
/**
- * Returns all currency instances.
+ * Gets all currencies.
*
- * @param string $locale The locale (i.e. fr-FR).
- * @param string $fallbackLocale A fallback locale (i.e "en").
+ * @param string $locale The locale (i.e. fr-FR).
*
- * @return array An array of currencies implementing the CurrencyInterface,
- * keyed by currency code.
+ * @return Currency[] An array of currencies, keyed by currency code.
*/
- public function getAll($locale = null, $fallbackLocale = null);
+ public function getAll($locale = null);
/**
- * Returns a list of currencies.
+ * Gets a list of currencies.
*
- * @param string $locale The locale (i.e. fr-FR).
- * @param string $fallbackLocale A fallback locale (i.e "en").
+ * @param string $locale The locale (i.e. fr-FR).
*
- * @return array An array of currency names, keyed by currency code.
+ * @return string[] An array of currency names, keyed by currency code.
*/
- public function getList($locale = null, $fallbackLocale = null);
+ public function getList($locale = null);
}