From 580c3f4ffe9608d2beb56d418c68b3b112420e76 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 10 Nov 2019 12:49:51 +0000 Subject: another bulk of composer updates (cherry picked from commit 6685381fd8db507493c3d7c1793f8c05c681bbce) --- .../src/Currency/CurrencyRepositoryInterface.php | 30 ++++++++++------------ 1 file changed, 13 insertions(+), 17 deletions(-) (limited to 'vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php') 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); } -- cgit v1.2.3