Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/62443
Change subject: Update function return type hints to go along with code updates
......................................................................
Update function return type hints to go along with code updates
Change-Id: I46f6b4dc23ff48d44d0795b35065925cd5135204
---
M MWSearch_body.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MWSearch
refs/changes/43/62443/1
diff --git a/MWSearch_body.php b/MWSearch_body.php
index acc1ab6..608816b 100644
--- a/MWSearch_body.php
+++ b/MWSearch_body.php
@@ -5,7 +5,7 @@
* Perform a full text search query and return a result set.
*
* @param string $term - Raw search term
- * @return LuceneSearchSet
+ * @return LuceneSearchSet|Status
* @access public
*/
function searchText( $term ) {
@@ -17,7 +17,7 @@
* Perform a title-only search query and return a result set.
*
* @param string $term - Raw search term
- * @return LuceneSearchSet
+ * @return null
* @access public
*/
function searchTitle( $term ) {
@@ -421,7 +421,7 @@
* @param int $limit
* @param int $offset
* @param bool $searchAll
- * @return array
+ * @return LuceneSearchSet|Status
* @access public
*/
static function newFromQuery( $method, $query, $namespaces = array(),
--
To view, visit https://gerrit.wikimedia.org/r/62443
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I46f6b4dc23ff48d44d0795b35065925cd5135204
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MWSearch
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits