includes/Api/ApiULSSetLanguage.php
Method execute
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function execute() {
$request = $this->getRequest();
if ( !$request->wasPosted() ) {
$this->dieWithError( [ 'apierror-mustbeposted', $request->getText( 'action' ) ] );
}