*/
public function supports( $feature ) {
switch ( $feature ) {
- case 'search-update':
- return true;
- case 'title-suffix-filter':
- default:
- return false;
+ case 'search-update':
+ return true;
+ case 'title-suffix-filter':
+ default:
+ return false;
}
}
* 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' ];