X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsearch%2FSearchSuggestionSet.php;h=aced5e18af8dc314a68852f53aa0e78c90358fa0;hb=732b5e2745ca8f6153e19cc10c3c9acb1b2a6331;hp=6d54dada4edb5dac4f91531cdb2427aaad0fdee2;hpb=25d765c4735346f5207037c6f939709509013601;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/search/SearchSuggestionSet.php b/includes/search/SearchSuggestionSet.php index 6d54dada4e..aced5e18af 100644 --- a/includes/search/SearchSuggestionSet.php +++ b/includes/search/SearchSuggestionSet.php @@ -106,6 +106,7 @@ class SearchSuggestionSet { /** * Move the suggestion at index $key to the first position + * @param string $key */ public function rescore( $key ) { $removed = array_splice( $this->suggestions, $key, 1 );