includes/specials/SpecialMIMESearch.php
Method getQueryInfo
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getQueryInfo() {
$minorType = [];
if ( $this->minor !== '*' ) {
// Allow wildcard searching
$minorType['img_minor_mime'] = $this->minor;