Merge "mw.htmlform: Fix hiding of the textbox for 'selectorother' fields on page...
[lhc/web/wiklou.git] / includes / search / SearchIndexFieldDefinition.php
index 04344fd..87d6344 100644 (file)
@@ -39,7 +39,6 @@ abstract class SearchIndexFieldDefinition implements SearchIndexField {
        private $mergeCallback;
 
        /**
-        * SearchIndexFieldDefinition constructor.
         * @param string $name Field name
         * @param int    $type Index type
         */
@@ -140,4 +139,11 @@ abstract class SearchIndexFieldDefinition implements SearchIndexField {
        public function setMergeCallback( $callback ) {
                $this->mergeCallback = $callback;
        }
+
+       /**
+        * {@inheritDoc}
+        */
+       public function getEngineHints( SearchEngine $engine ) {
+               return [];
+       }
 }