Improve typing

This commit is contained in:
Pierre Rudloff 2022-02-03 20:21:25 +01:00
parent d46563f994
commit b8c88aecf5
6 changed files with 11 additions and 11 deletions

View file

@ -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
*/