From bfec58a67565b542d90b15bfb61d2c90e2f9934e Mon Sep 17 00:00:00 2001 From: Bernhard Schussek Date: Fri, 15 Mar 2013 17:03:35 +0100 Subject: [PATCH] [Intl] Fixed flawed PHPDoc --- .../Intl/ResourceBundle/CurrencyBundleInterface.php | 6 +++--- .../Intl/ResourceBundle/LanguageBundleInterface.php | 8 ++++---- .../Intl/ResourceBundle/LocaleBundleInterface.php | 4 ++-- .../Intl/ResourceBundle/RegionBundleInterface.php | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Symfony/Component/Intl/ResourceBundle/CurrencyBundleInterface.php b/src/Symfony/Component/Intl/ResourceBundle/CurrencyBundleInterface.php index 65eeeaab69..1a88e93722 100644 --- a/src/Symfony/Component/Intl/ResourceBundle/CurrencyBundleInterface.php +++ b/src/Symfony/Component/Intl/ResourceBundle/CurrencyBundleInterface.php @@ -23,7 +23,7 @@ interface CurrencyBundleInterface extends ResourceBundleInterface * * @param string $currency A currency code (e.g. "EUR"). * @param string $locale Optional. The locale to return the result in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string|null The currency symbol or NULL if not found. */ @@ -34,7 +34,7 @@ interface CurrencyBundleInterface extends ResourceBundleInterface * * @param string $currency A currency code (e.g. "EUR"). * @param string $locale Optional. The locale to return the name in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string|null The name of the currency or NULL if not found. */ @@ -44,7 +44,7 @@ interface CurrencyBundleInterface extends ResourceBundleInterface * Returns the names of all known currencies. * * @param string $locale Optional. The locale to return the names in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string[] A list of currency names indexed by currency codes. */ diff --git a/src/Symfony/Component/Intl/ResourceBundle/LanguageBundleInterface.php b/src/Symfony/Component/Intl/ResourceBundle/LanguageBundleInterface.php index 57c18ef6fc..de50bda057 100644 --- a/src/Symfony/Component/Intl/ResourceBundle/LanguageBundleInterface.php +++ b/src/Symfony/Component/Intl/ResourceBundle/LanguageBundleInterface.php @@ -24,7 +24,7 @@ interface LanguageBundleInterface extends ResourceBundleInterface * @param string $lang A language code (e.g. "en"). * @param string|null $region Optional. A region code (e.g. "US"). * @param string $locale Optional. The locale to return the name in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string|null The name of the language or NULL if not found. */ @@ -34,7 +34,7 @@ interface LanguageBundleInterface extends ResourceBundleInterface * Returns the names of all known languages. * * @param string $locale Optional. The locale to return the names in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string[] A list of language names indexed by language codes. */ @@ -46,7 +46,7 @@ interface LanguageBundleInterface extends ResourceBundleInterface * @param string $script A script code (e.g. "Hans"). * @param string $lang Optional. A language code (e.g. "zh"). * @param string $locale Optional. The locale to return the name in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string|null The name of the script or NULL if not found. */ @@ -56,7 +56,7 @@ interface LanguageBundleInterface extends ResourceBundleInterface * Returns the names of all known scripts. * * @param string $locale Optional. The locale to return the names in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string[] A list of script names indexed by script codes. */ diff --git a/src/Symfony/Component/Intl/ResourceBundle/LocaleBundleInterface.php b/src/Symfony/Component/Intl/ResourceBundle/LocaleBundleInterface.php index 8f30595231..daf5be68a5 100644 --- a/src/Symfony/Component/Intl/ResourceBundle/LocaleBundleInterface.php +++ b/src/Symfony/Component/Intl/ResourceBundle/LocaleBundleInterface.php @@ -23,7 +23,7 @@ interface LocaleBundleInterface extends ResourceBundleInterface * * @param string $ofLocale The locale to return the name of (e.g. "de_AT"). * @param string $locale Optional. The locale to return the name in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string|null The name of the locale or NULL if not found. */ @@ -33,7 +33,7 @@ interface LocaleBundleInterface extends ResourceBundleInterface * Returns the names of all known locales. * * @param string $locale Optional. The locale to return the names in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string[] A list of locale names indexed by locale codes. */ diff --git a/src/Symfony/Component/Intl/ResourceBundle/RegionBundleInterface.php b/src/Symfony/Component/Intl/ResourceBundle/RegionBundleInterface.php index 9fb6c9ec06..4e55f2dc63 100644 --- a/src/Symfony/Component/Intl/ResourceBundle/RegionBundleInterface.php +++ b/src/Symfony/Component/Intl/ResourceBundle/RegionBundleInterface.php @@ -23,7 +23,7 @@ interface RegionBundleInterface extends ResourceBundleInterface * * @param string $country A country code (e.g. "US"). * @param string $locale Optional. The locale to return the name in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string|null The name of the country or NULL if not found. */ @@ -33,7 +33,7 @@ interface RegionBundleInterface extends ResourceBundleInterface * Returns the names of all known countries. * * @param string $locale Optional. The locale to return the names in. - * Defaults to {@link \Locale::getLocale()}. + * Defaults to {@link \Locale::getDefault()}. * * @return string[] A list of country names indexed by country codes. */