From fc46ed5855537037d3ba45757540b801c96aaa48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= <grosse@cosmocode.de>
Date: Wed, 28 Mar 2018 16:03:05 +0200
Subject: [PATCH] doc(search): highlight is expected to be an array

---
 inc/Ui/Search.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/inc/Ui/Search.php b/inc/Ui/Search.php
index 47171902f..d8c7531f0 100644
--- a/inc/Ui/Search.php
+++ b/inc/Ui/Search.php
@@ -16,9 +16,9 @@ class Search extends Ui
     /**
      * Search constructor.
      *
-     * @param array  $pageLookupResults
-     * @param array  $fullTextResults
-     * @param string $highlight
+     * @param array $pageLookupResults pagename lookup results in the form [pagename => pagetitle]
+     * @param array $fullTextResults fulltext search results in the form [pagename => #hits]
+     * @param array $highlight  array of strings to be highlighted
      */
     public function __construct(array $pageLookupResults, array $fullTextResults, $highlight)
     {
-- 
GitLab