X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsearch%2FSearchEngine.php;h=3c8fe608b4667328617e1df455b227a69a39acbe;hb=971a50c4f3c61fb3a4bec60cd712317bb8ddcb9a;hp=70117db76cd7719f516ac76fac8a7e9d59d00ddf;hpb=1abc89fc7651e122ca53fe874eecb89f30b5ba35;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/search/SearchEngine.php b/includes/search/SearchEngine.php index 70117db76c..3c8fe608b4 100644 --- a/includes/search/SearchEngine.php +++ b/includes/search/SearchEngine.php @@ -138,7 +138,7 @@ abstract class SearchEngine { * @return mixed the feature value or null if unset */ public function getFeatureData( $feature ) { - if ( isset ( $this->features[$feature] ) ) { + if ( isset( $this->features[$feature] ) ) { return $this->features[$feature]; } return null; @@ -269,7 +269,7 @@ abstract class SearchEngine { * might support more. The default in all implementations should be 'relevance.' * * @since 1.25 - * @return array(string) the valid sort directions for setSort + * @return string[] the valid sort directions for setSort */ public function getValidSorts() { return [ 'relevance' ]; @@ -566,6 +566,7 @@ abstract class SearchEngine { /** * Process completion search results. * Resolves the titles and rescores. + * @param string $search * @param SearchSuggestionSet $suggestions * @return SearchSuggestionSet */ @@ -727,7 +728,7 @@ abstract class SearchEngine { * Create a search field definition. * Specific search engines should override this method to create search fields. * @param string $name - * @param int $type One of the types in SearchIndexField::INDEX_TYPE_* + * @param int $type One of the types in SearchIndexField::INDEX_TYPE_* * @return SearchIndexField * @since 1.28 */