docblock version fixes

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2018-06-28 17:37:16 +02:00
parent 325403ac24
commit 4c1e581f47
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
3 changed files with 6 additions and 6 deletions

View File

@ -86,7 +86,7 @@ class L10N implements IL10N {
*
* @return string locale
*/
public function getLocaleCode() {
public function getLocaleCode(): string {
return $this->locale;
}

View File

@ -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;
}

View File

@ -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);
}