Showing 691 of 718 total issues
Avoid too many return
statements within this method. Open
Open
return $this->getSuggestions( $search, $variants, $this->config );
Avoid too many return
statements within this method. Open
Open
return "unknown";
Avoid too many return
statements within this method. Open
Open
return [
Status::newFatal( 'cirrussearch-backend-error' ),
self::formatMessage( $cause )
];
Avoid too many return
statements within this method. Open
Open
return [ $page, $redirects ];
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $this->config->get( 'CirrusSearchTalkNamespaceWeight' );
Avoid too many return
statements within this method. Open
Open
return new NamespacesFunctionScoreBuilder( $config, $this->context->getNamespaces(), $weight );
Avoid too many return
statements within this method. Open
Open
return $builder;
Avoid too many return
statements within this method. Open
Open
return $this->config->get( 'CirrusSearchDefaultNamespaceWeight' ) *
$this->config->get( 'CirrusSearchTalkNamespaceWeight' );
Avoid too many return
statements within this method. Open
Open
return FallbackStatus::noSuggestion();
Avoid too many return
statements within this method. Open
Open
return $msearches->failure( Status::newFatal( 'cirrussearch-backend-error' ) );
Avoid too many return
statements within this method. Open
Open
return new ScriptScoreFunctionScoreBuilder( $config, $weight, $func['script'] );
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return 0.0;
Avoid too many return
statements within this method. Open
Open
return $msearches->failure( $status );
Avoid too many return
statements within this method. Open
Open
return new LangWeightFunctionScoreBuilder( $config, $weight );
Avoid too many return
statements within this method. Open
Open
return new SatuFunctionScoreBuilder( $config, $weight, $func['params'] );
Avoid too many return
statements within this method. Open
Open
return FallbackStatus::addInterwikiResults( $crossLangResults,
$this->detectedLangWikiConfig->getWikiId() );
Avoid too many return
statements within this method. Open
Open
return $mresults->transformAndGetSingle( $this->searchContext->getResultsType(), self::MAINSEARCH_MSEARCH_KEY );
Avoid too many return
statements within this method. Open
Open
return $status;