search: getInterwikiResults returns array of SearchResultSets
authorErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 14 Apr 2016 16:04:12 +0000 (09:04 -0700)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 14 Apr 2016 16:04:12 +0000 (09:04 -0700)
This function was incorrectly annotated. We can clearly see from the
code that uses it, such as in SpecialSearch, that this is an array of
SearchResultSet objects.

Bug: T132625
Change-Id: I4af07d3c9a9b08fd1fa438ddb6b781f78472b26c

includes/search/SearchResultSet.php

index a673dba..69795e7 100644 (file)
@@ -129,7 +129,7 @@ class SearchResultSet {
        /**
         * Return a result set of hits on other (multiple) wikis associated with this one
         *
-        * @return SearchResultSet
+        * @return SearchResultSet[]
         */
        function getInterwikiResults( $type = self::SECONDARY_RESULTS ) {
                return null;