wikimedia/mediawiki-extensions-Translate

View on GitHub
src/Statistics/QueryTranslationStatsActionApi.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getAllowedParams has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function getAllowedParams() {
        return [
            'count' => [
                ParamValidator::PARAM_TYPE => $this->dataProvider->getGraphTypes(),
                ParamValidator::PARAM_REQUIRED => true,
Severity: Minor
Found in src/Statistics/QueryTranslationStatsActionApi.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status