public static function getInstance( Language $lang = null ) {
global $wgMainCacheType;
- $lang = $lang ?: MediaWikiServices::getInstance()->getContentLanguage();
+ $lang = $lang ?? MediaWikiServices::getInstance()->getContentLanguage();
$cache = ObjectCache::getLocalServerInstance( $wgMainCacheType );
static $dateFormatter = false;