Improve typing
This commit is contained in:
parent
d46563f994
commit
b8c88aecf5
6 changed files with 11 additions and 11 deletions
|
@ -38,7 +38,7 @@ class LocaleMiddleware
|
|||
/**
|
||||
* Test if a locale can be used for the current user.
|
||||
*
|
||||
* @param mixed[] $proposedLocale Locale array created by AcceptLanguage::parse()
|
||||
* @param string[] $proposedLocale Locale array created by AcceptLanguage::parse()
|
||||
*
|
||||
* @return Locale|null Locale if chosen, nothing otherwise
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue