From: Reedy Date: Mon, 6 May 2013 14:39:30 +0000 (+0100) Subject: Update SearchEngine::searchText() and SearchEngine::searchTitle() return type hints X-Git-Tag: 1.31.0-rc.0~19760 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=28ec06fa53d09542e810e88e8cf81110f96efced;p=lhc%2Fweb%2Fwiklou.git Update SearchEngine::searchText() and SearchEngine::searchTitle() return type hints Matches updates to MWSearch that can now return Status objects Change-Id: I056fdf9f290d0a17e49948be158dd881185c8345 --- diff --git a/includes/search/SearchEngine.php b/includes/search/SearchEngine.php index 13e8a00cd2..a975b03741 100644 --- a/includes/search/SearchEngine.php +++ b/includes/search/SearchEngine.php @@ -59,7 +59,7 @@ class SearchEngine { * STUB * * @param string $term raw search term - * @return SearchResultSet + * @return SearchResultSet|Status|null */ function searchText( $term ) { return null; @@ -71,7 +71,7 @@ class SearchEngine { * STUB * * @param string $term raw search term - * @return SearchResultSet + * @return SearchResultSet|null */ function searchTitle( $term ) { return null;