includes/Search/SourceTextIndexField.php
Method getMapping
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getMapping( SearchEngine $engine ) {
if ( !( $engine instanceof CirrusSearch ) ) {
throw new \LogicException( "Cannot map CirrusSearch fields for another engine." );
}
$this->initFlags();