summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/L10N/L10N.php2
-rw-r--r--lib/public/IL10N.php4
-rw-r--r--lib/public/L10N/IFactory.php6
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/L10N/L10N.php b/lib/private/L10N/L10N.php
index 7087fcae049..a12375c4214 100644
--- a/lib/private/L10N/L10N.php
+++ b/lib/private/L10N/L10N.php
@@ -86,7 +86,7 @@ class L10N implements IL10N {
*
* @return string locale
*/
- public function getLocaleCode() {
+ public function getLocaleCode(): string {
return $this->locale;
}
diff --git a/lib/public/IL10N.php b/lib/public/IL10N.php
index 43d19059d9c..53decd78051 100644
--- a/lib/public/IL10N.php
+++ b/lib/public/IL10N.php
@@ -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;
}
diff --git a/lib/public/L10N/IFactory.php b/lib/public/L10N/IFactory.php
index 4efbe84ea3f..8c0a9fb448a 100644
--- a/lib/public/L10N/IFactory.php
+++ b/lib/public/L10N/IFactory.php
@@ -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);
}