aboutsummaryrefslogtreecommitdiffstats
path: root/includes/xml/Xml.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/xml/Xml.php')
-rw-r--r--includes/xml/Xml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/xml/Xml.php b/includes/xml/Xml.php
index 43202ab9f002..a880d0790466 100644
--- a/includes/xml/Xml.php
+++ b/includes/xml/Xml.php
@@ -225,7 +225,7 @@ class Xml {
* @deprecated since 1.42
*/
public static function languageSelector( $selected, $customisedOnly = true,
- $inLanguage = null, $overrideAttrs = [], Message $msg = null
+ $inLanguage = null, $overrideAttrs = [], ?Message $msg = null
) {
wfDeprecated( __METHOD__, '1.42' );
$languageCode = MediaWikiServices::getInstance()->getMainConfig()