diff --git a/code/web/sys/SearchObject/SummonSearcher.php b/code/web/sys/SearchObject/SummonSearcher.php index 406d8813e0..68edbddba9 100644 --- a/code/web/sys/SearchObject/SummonSearcher.php +++ b/code/web/sys/SearchObject/SummonSearcher.php @@ -159,7 +159,7 @@ public function init($searchSource = null) { * Create an instance of the Summon Searcher * @return SearchObject_SummonSearcher */ - public static function getInstance() { + public static function getInstance() { if (SearchObject_SummonSearcher::$instance == null) { SearchObject_SummonSearcher::$instance = new SearchObject_SummonSearcher(); } @@ -339,7 +339,7 @@ public function getResultSummary() { return $summary; } - /** Return a url for use by pagination template + /** Return a url for use by pagination template * * @access public * @return string URL of a new search @@ -429,7 +429,7 @@ public function getSortList() { 'desc' => $label, 'selected' => ($sort == $this->sort), ]; - } + } } return $list; } @@ -660,7 +660,7 @@ public function process($input, $textQuery = null) { ) ); } - // Detect errors + // Detect errors if (isset(SearchObject_SummonSearcher::$searchOptions['errors']) && is_array(SearchObject_SummonSearcher::$searchOptions['errors'])) { foreach (SearchObject_SummonSearcher::$searchOptions['errors'] as $current) { $errors[] = "{$current['code']}: {$current['message']}"; @@ -732,10 +732,10 @@ public function getQuerySpeed() { return $this->queryTime; } - /** + /** * Search indexes */ - public function getSearchIndexes() { + public function getSearchIndexes() { return [ "Title" => translate([ 'text' => "Title", @@ -753,9 +753,9 @@ public function getSearchIndexes() { 'inAttribute' => true, ]) ]; - } + } - //Default search index + //Default search index public function getDefaultIndex() { return $this->searchIndex; }