aboutsummaryrefslogtreecommitdiffstats
path: root/includes/language
diff options
context:
space:
mode:
authorAryeh Gregor <ayg@aryeh.name>2019-10-25 11:07:22 +0300
committerC. Scott Ananian <cscott@cscott.net>2020-08-21 00:18:45 -0400
commita24e8a06b584856d3204c00320982d1e54d0fc58 (patch)
tree7bec2c0d0baff1628a7ded2b5ac0380eddc445b7 /includes/language
parenta1ca5339e368c2396747386c7bf2275756d8af36 (diff)
downloadmediawikicore-a24e8a06b584856d3204c00320982d1e54d0fc58.tar.gz
mediawikicore-a24e8a06b584856d3204c00320982d1e54d0fc58.zip
Mark CONSTRUCTOR_OPTIONS as internal
These were never meant to be part of the public interface and should not ever have been marked with @since. They're only useful for constructing the respective objects, which no outside users should be doing. Change-Id: I86e01272d46fc72af32172d8a12b9180971d4613
Diffstat (limited to 'includes/language')
-rw-r--r--includes/language/LanguageFactory.php3
-rw-r--r--includes/language/LanguageNameUtils.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/includes/language/LanguageFactory.php b/includes/language/LanguageFactory.php
index 2ca2d36391b7..474198b4cf05 100644
--- a/includes/language/LanguageFactory.php
+++ b/includes/language/LanguageFactory.php
@@ -65,8 +65,7 @@ class LanguageFactory {
private $parentLangCache = [];
/**
- * @since 1.35
- * @var array
+ * @internal For use by ServiceWiring
*/
public const CONSTRUCTOR_OPTIONS = [
'DummyLanguageCodes',
diff --git a/includes/language/LanguageNameUtils.php b/includes/language/LanguageNameUtils.php
index 73bda88953bc..7651aaeee1c8 100644
--- a/includes/language/LanguageNameUtils.php
+++ b/includes/language/LanguageNameUtils.php
@@ -75,6 +75,9 @@ class LanguageNameUtils {
*/
private $validCodeCache = [];
+ /**
+ * @internal For use by ServiceWiring
+ */
public const CONSTRUCTOR_OPTIONS = [
'ExtraLanguageNames',
'UsePigLatinVariant',