docblock version fixes
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
325403ac24
commit
4c1e581f47
3 changed files with 6 additions and 6 deletions
|
@ -86,7 +86,7 @@ class L10N implements IL10N {
|
|||
*
|
||||
* @return string locale
|
||||
*/
|
||||
public function getLocaleCode() {
|
||||
public function getLocaleCode(): string {
|
||||
return $this->locale;
|
||||
}
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ interface IL10N {
|
|||
* * The code (en_US, fr_CA, ...) of the locale that is used for this IL10N object
|
||||
*
|
||||
* @return string locale
|
||||
* @since 13.0.0
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function getLocaleCode();
|
||||
public function getLocaleCode(): string;
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ interface IFactory {
|
|||
/**
|
||||
* @param string|null $lang user language as default locale
|
||||
* @return string locale If nothing works it returns 'en_US'
|
||||
* @since 13.0.0
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function findLocale($lang = null);
|
||||
|
||||
|
@ -77,7 +77,7 @@ interface IFactory {
|
|||
/**
|
||||
* @param string $locale
|
||||
* @return bool
|
||||
* @since 13.0.0
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function localeExists($locale);
|
||||
|
||||
|
@ -86,7 +86,7 @@ interface IFactory {
|
|||
*
|
||||
* @param string $string
|
||||
* @return string Unique function name
|
||||
* @since 9.0.0
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function createPluralFunction($string);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue