Browse Source

docblock version fixes

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
tags/v14.0.0beta1
Georg Ehrke 6 years ago
parent
commit
4c1e581f47
No account linked to committer's email address
3 changed files with 6 additions and 6 deletions
  1. 1
    1
      lib/private/L10N/L10N.php
  2. 2
    2
      lib/public/IL10N.php
  3. 3
    3
      lib/public/L10N/IFactory.php

+ 1
- 1
lib/private/L10N/L10N.php View File

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


+ 2
- 2
lib/public/IL10N.php 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;
}

+ 3
- 3
lib/public/L10N/IFactory.php 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);
}

Loading…
Cancel
Save