* 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' ];
* 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
*/