11<?php
22
33/**
4- * Search Options for second Solr index
4+ * Search Options for GVI Solr index
55 *
66 * PHP version 8
77 *
8- * Copyright (C) Staats- und Universitätsbibliothek Hamburg 2018 .
8+ * Copyright (C) Universitätsbibliothek Mannheim 2026 .
99 *
1010 * This program is free software; you can redistribute it and/or modify
1111 * it under the terms of the GNU General Public License version 2,
2222 *
2323 * @category VuFind
2424 * @package Search_GVI
25- * @author Hajo Seng <hajo.seng@sub.uni-hamburg .de>
25+ * @author Stefan Weil <sw@weilnetz .de>
2626 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
2727 * @link https://vufind.org Main Page
2828 */
3636 *
3737 * @category VuFind
3838 * @package Search_GVI
39- * @author Hajo Seng <hajo.seng@sub.uni-hamburg .de>
39+ * @author Stefan Weil <sw@weilnetz .de>
4040 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
4141 * @link https://vufind.org Main Site
4242 */
@@ -54,22 +54,23 @@ public function __construct(ConfigManagerInterface $configManager)
5454 }
5555
5656 /**
57- * Return the route name for the facet list action. Returns false to cover
57+ * Return the route name for the facet list action. Returns null to cover
5858 * unimplemented support.
5959 *
60- * @return string|bool
60+ * @return ? string
6161 */
62- public function getFacetListAction ()
62+ public function getFacetListAction (): ? string
6363 {
6464 return 'gvi-facetlist ' ;
6565 }
6666
6767 /**
68- * Return the route name for the versions search action or false if disabled.
68+ * Return the route name for the versions search action. Returns null to cover
69+ * unimplemented support.
6970 *
70- * @return string|bool
71+ * @return ? string
7172 */
72- public function getVersionsAction ()
73+ public function getVersionsAction (): ? string
7374 {
7475 return $ this ->displayRecordVersions ? 'gvi-versions ' : false ;
7576 }
@@ -88,9 +89,9 @@ public function getSearchAction()
8889 * Return the route name of the action used for performing advanced searches.
8990 * Returns false if the feature is not supported.
9091 *
91- * @return string|bool
92+ * @return ? string
9293 */
93- public function getAdvancedSearchAction ()
94+ public function getAdvancedSearchAction (): ? string
9495 {
9596 return 'gvi-advanced ' ;
9697 }
0 commit comments