Merge "Increase test coverage for BlockManager class"
[lhc/web/wiklou.git] / includes / search / SearchResultSet.php
index 18331dd..5ee96cb 100644 (file)
@@ -84,7 +84,7 @@ class SearchResultSet implements Countable, IteratorAggregate {
                        // This class will eventually be abstract. SearchEngine implementations
                        // already have to extend this class anyways to provide the actual
                        // search results.
-                       wfDeprecated( __METHOD__, 1.32 );
+                       wfDeprecated( __METHOD__, '1.32' );
                }
                $this->containedSyntax = $containedSyntax;
                $this->hasMoreResults = $hasMoreResults;
@@ -95,7 +95,8 @@ class SearchResultSet implements Countable, IteratorAggregate {
         * the search terms as parsed by this engine in a text extract.
         * STUB
         *
-        * @return array
+        * @return string[]
+        * @deprecated since 1.34 (use SqlSearchResult)
         */
        function termMatches() {
                return [];