From 4c1e581f4793d0556d42a67911458c4c282c4507 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Thu, 28 Jun 2018 17:37:16 +0200 Subject: [PATCH] docblock version fixes Signed-off-by: Georg Ehrke --- lib/private/L10N/L10N.php | 2 +- lib/public/IL10N.php | 4 ++-- lib/public/L10N/IFactory.php | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/private/L10N/L10N.php b/lib/private/L10N/L10N.php index 7087fcae04..a12375c421 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 43d19059d9..53decd7805 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 4efbe84ea3..8c0a9fb448 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); }