build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled: * MediaWiki.Commenting.FunctionComment.MissingParamComment * MediaWiki.Commenting.FunctionComment.MissingParamName * MediaWiki.Commenting.FunctionComment.MissingParamTag * MediaWiki.Commenting.FunctionComment.MissingReturn * MediaWiki.Commenting.FunctionComment.ParamNameNoMatch * MediaWiki.Commenting.FunctionComment.WrongStyle * MediaWiki.FunctionComment.Missing.Public Change-Id: Ic8acf95cfd8edf88125128fe527e357fa5d0a8ec
This commit is contained in:
committed by
Umherirrender
parent
6f949161d8
commit
0e7d8a7a9d
@@ -247,7 +247,7 @@ class UniversalLanguageSelectorHooks {
|
||||
$user->setOption( 'language', $languageToSave );
|
||||
$code = $languageToSave;
|
||||
// Promise to sync the DB on post-send
|
||||
DeferredUpdates::addCallableUpdate( function() use ( $user ) {
|
||||
DeferredUpdates::addCallableUpdate( function () use ( $user ) {
|
||||
$user->saveSettings();
|
||||
} );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user