# Exact match? No need to look further.
$title = Title::newFromText( $term );
if (is_null($title))
- return NULL;
+ return null;
if ( $title->getNamespace() == NS_SPECIAL || $title->isExternal() || $title->exists() ) {
return $title;
return SearchEngine::getNearMatch( $matches[1] );
}
- return NULL;
+ return null;
}
public static function legalSearchChars() {