build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
Also added "composer fix" command. Change-Id: I6f3f29f03abb607fbca9cec6f140875f2a3468a0
This commit is contained in:
@@ -46,24 +46,24 @@ class ApiULSLocalization extends ApiBase {
|
||||
}
|
||||
|
||||
public function getAllowedParams() {
|
||||
return array(
|
||||
'language' => array(
|
||||
return [
|
||||
'language' => [
|
||||
ApiBase::PARAM_REQUIRED => true,
|
||||
ApiBase::PARAM_TYPE => 'string',
|
||||
),
|
||||
);
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ApiBase::getExamplesMessages()
|
||||
*/
|
||||
protected function getExamplesMessages() {
|
||||
return array(
|
||||
return [
|
||||
'action=ulslocalization&language=ta'
|
||||
=> 'apihelp-ulslocalization-example-1',
|
||||
'action=ulslocalization&language=hi'
|
||||
=> 'apihelp-ulslocalization-example-2',
|
||||
);
|
||||
];
|
||||
}
|
||||
|
||||
// Try to scare people away from using this externally
|
||||
|
||||
Reference in New Issue
Block a user