Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbfec58a

Browse files
committed
[Intl] Fixed flawed PHPDoc
1 parent21323ba commitbfec58a

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

‎src/Symfony/Component/Intl/ResourceBundle/CurrencyBundleInterface.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface CurrencyBundleInterface extends ResourceBundleInterface
2323
*
2424
* @param string $currency A currency code (e.g. "EUR").
2525
* @param string $locale Optional. The locale to return the result in.
26-
* Defaults to {@link \Locale::getLocale()}.
26+
* Defaults to {@link \Locale::getDefault()}.
2727
*
2828
* @return string|null The currency symbol or NULL if not found.
2929
*/
@@ -34,7 +34,7 @@ public function getCurrencySymbol($currency, $locale = null);
3434
*
3535
* @param string $currency A currency code (e.g. "EUR").
3636
* @param string $locale Optional. The locale to return the name in.
37-
* Defaults to {@link \Locale::getLocale()}.
37+
* Defaults to {@link \Locale::getDefault()}.
3838
*
3939
* @return string|null The name of the currency or NULL if not found.
4040
*/
@@ -44,7 +44,7 @@ public function getCurrencyName($currency, $locale = null);
4444
* Returns the names of all known currencies.
4545
*
4646
* @param string $locale Optional. The locale to return the names in.
47-
* Defaults to {@link \Locale::getLocale()}.
47+
* Defaults to {@link \Locale::getDefault()}.
4848
*
4949
* @return string[] A list of currency names indexed by currency codes.
5050
*/

‎src/Symfony/Component/Intl/ResourceBundle/LanguageBundleInterface.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interface LanguageBundleInterface extends ResourceBundleInterface
2424
* @param string $lang A language code (e.g. "en").
2525
* @param string|null $region Optional. A region code (e.g. "US").
2626
* @param string $locale Optional. The locale to return the name in.
27-
* Defaults to {@link \Locale::getLocale()}.
27+
* Defaults to {@link \Locale::getDefault()}.
2828
*
2929
* @return string|null The name of the language or NULL if not found.
3030
*/
@@ -34,7 +34,7 @@ public function getLanguageName($lang, $region = null, $locale = null);
3434
* Returns the names of all known languages.
3535
*
3636
* @param string $locale Optional. The locale to return the names in.
37-
* Defaults to {@link \Locale::getLocale()}.
37+
* Defaults to {@link \Locale::getDefault()}.
3838
*
3939
* @return string[] A list of language names indexed by language codes.
4040
*/
@@ -46,7 +46,7 @@ public function getLanguageNames($locale = null);
4646
* @param string $script A script code (e.g. "Hans").
4747
* @param string $lang Optional. A language code (e.g. "zh").
4848
* @param string $locale Optional. The locale to return the name in.
49-
* Defaults to {@link \Locale::getLocale()}.
49+
* Defaults to {@link \Locale::getDefault()}.
5050
*
5151
* @return string|null The name of the script or NULL if not found.
5252
*/
@@ -56,7 +56,7 @@ public function getScriptName($script, $lang = null, $locale = null);
5656
* Returns the names of all known scripts.
5757
*
5858
* @param string $locale Optional. The locale to return the names in.
59-
* Defaults to {@link \Locale::getLocale()}.
59+
* Defaults to {@link \Locale::getDefault()}.
6060
*
6161
* @return string[] A list of script names indexed by script codes.
6262
*/

‎src/Symfony/Component/Intl/ResourceBundle/LocaleBundleInterface.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface LocaleBundleInterface extends ResourceBundleInterface
2323
*
2424
* @param string $ofLocale The locale to return the name of (e.g. "de_AT").
2525
* @param string $locale Optional. The locale to return the name in.
26-
* Defaults to {@link \Locale::getLocale()}.
26+
* Defaults to {@link \Locale::getDefault()}.
2727
*
2828
* @return string|null The name of the locale or NULL if not found.
2929
*/
@@ -33,7 +33,7 @@ public function getLocaleName($ofLocale, $locale = null);
3333
* Returns the names of all known locales.
3434
*
3535
* @param string $locale Optional. The locale to return the names in.
36-
* Defaults to {@link \Locale::getLocale()}.
36+
* Defaults to {@link \Locale::getDefault()}.
3737
*
3838
* @return string[] A list of locale names indexed by locale codes.
3939
*/

‎src/Symfony/Component/Intl/ResourceBundle/RegionBundleInterface.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface RegionBundleInterface extends ResourceBundleInterface
2323
*
2424
* @param string $country A country code (e.g. "US").
2525
* @param string $locale Optional. The locale to return the name in.
26-
* Defaults to {@link \Locale::getLocale()}.
26+
* Defaults to {@link \Locale::getDefault()}.
2727
*
2828
* @return string|null The name of the country or NULL if not found.
2929
*/
@@ -33,7 +33,7 @@ public function getCountryName($country, $locale = null);
3333
* Returns the names of all known countries.
3434
*
3535
* @param string $locale Optional. The locale to return the names in.
36-
* Defaults to {@link \Locale::getLocale()}.
36+
* Defaults to {@link \Locale::getDefault()}.
3737
*
3838
* @return string[] A list of country names indexed by country codes.
3939
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp