Merge "Un-blacklist PhanUndeclaredVariable"
[lhc/web/wiklou.git] / docs / hooks.txt
index 4057cce..c5b112d 100644 (file)
@@ -2822,7 +2822,7 @@ $terms: Search terms, for highlighting
   function returned false.
 
 'ShowSearchHitTitle': Customise display of search hit title/link.
-$title: Title to link to
+&$title: Title to link to
 &$text: Text to use for the link
 $result: The search result
 $terms: The search terms entered
@@ -3148,8 +3148,8 @@ $opts: Array: key => value of hidden options for inclusion in custom forms
 
 'SpecialSearchResults': Called before search result display
 $term: string of search term
-$titleMatches: empty or SearchResultSet object
-$textMatches: empty or SearchResultSet object
+&$titleMatches: empty or SearchResultSet object
+&$textMatches: empty or SearchResultSet object
 
 'SpecialSearchResultsPrepend': Called immediately before returning HTML
 on the search results page.  Useful for including an external search