Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add "array" as allowed type of $value #387

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/Zend/Locale.php
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ public static function getTerritoryTranslationList($locale = null)
* Returns a localized information string, supported are several types of informations.
* For detailed information about the types look into the documentation
*
* @param string $value Name to get detailed information about
* @param array|string $value Name to get detailed information about
* @param string $path (Optional) Type of information to return
* @param string|Zend_Locale $locale (Optional) Locale|Language for which this informations should be returned
* @return string|false The wished information in the given language
Expand Down
6 changes: 3 additions & 3 deletions library/Zend/Locale/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -959,9 +959,9 @@ public static function getList($locale, $path, $value = false)
/**
* Read the LDML file, get a single path defined value
*
* @param string $locale
* @param string $path
* @param bool|string $value
* @param string $locale
* @param string $path
* @param array|bool|string $value
* @return string
* @throws Zend_Locale_Exception
*/
Expand Down
Loading