From: Erik Bernhardson Date: Thu, 14 Apr 2016 16:04:12 +0000 (-0700) Subject: search: getInterwikiResults returns array of SearchResultSets X-Git-Tag: 1.31.0-rc.0~7270^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/One?a=commitdiff_plain;h=5f26e87b7921d85eedd56edfe81a2d9089471180;p=lhc%2Fweb%2Fwiklou.git search: getInterwikiResults returns array of SearchResultSets 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 --- diff --git a/includes/search/SearchResultSet.php b/includes/search/SearchResultSet.php index a673dba486..69795e792b 100644 --- a/includes/search/SearchResultSet.php +++ b/includes/search/SearchResultSet.php @@ -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;