Skip to content

Commit dfaf2fe

Browse files
committed
Update copyright and author plus updates from dev-12.0
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 4d24d3a commit dfaf2fe

File tree

10 files changed

+46
-49
lines changed

10 files changed

+46
-49
lines changed

module/VuFind/src/VuFind/Controller/GVIrecordController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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,
@@ -22,7 +22,7 @@
2222
*
2323
* @category VuFind
2424
* @package Controller
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
*/
@@ -36,7 +36,7 @@
3636
*
3737
* @category VuFind
3838
* @package Controller
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
*/

module/VuFind/src/VuFind/RecordDriver/GVIDefault.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* PHP version 8
88
*
9-
* Copyright (C) Villanova University 2010.
9+
* Copyright (C) Universitätsbibliothek Mannheim 2026.
1010
*
1111
* This program is free software; you can redistribute it and/or modify
1212
* it under the terms of the GNU General Public License version 2,
@@ -23,8 +23,7 @@
2323
*
2424
* @category VuFind
2525
* @package RecordDrivers
26-
* @author Demian Katz <demian.katz@villanova.edu>
27-
* @author Samuli Sillanpää <samuli.sillanpaa@helsinki.fi>
26+
* @author Stefan Weil <sw@weilnetz.de>
2827
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
2928
* @link https://vufind.org/wiki/development:plugins:record_drivers Wiki
3029
*/
@@ -39,8 +38,7 @@
3938
*
4039
* @category VuFind
4140
* @package RecordDrivers
42-
* @author Demian Katz <demian.katz@villanova.edu>
43-
* @author Samuli Sillanpää <samuli.sillanpaa@helsinki.fi>
41+
* @author Stefan Weil <sw@weilnetz.de>
4442
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
4543
* @link https://vufind.org/wiki/development:plugins:record_drivers Wiki
4644
*

module/VuFind/src/VuFind/RecordDriver/GVIDefaultFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* PHP version 8
77
*
8-
* Copyright (C) Villanova University 2023.
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,
@@ -22,7 +22,7 @@
2222
*
2323
* @category VuFind
2424
* @package RecordDrivers
25-
* @author Demian Katz <demian.katz@villanova.edu>
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/wiki/development Wiki
2828
*/
@@ -34,7 +34,7 @@
3434
*
3535
* @category VuFind
3636
* @package RecordDrivers
37-
* @author Demian Katz <demian.katz@villanova.edu>
37+
* @author Stefan Weil <sw@weilnetz.de>
3838
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
3939
* @link https://vufind.org/wiki/development Wiki
4040
*/

module/VuFind/src/VuFind/Search/Factory/GVIBackendFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct()
5555
*
5656
* Returns a callable or null to use RecordCollectionFactory's default method.
5757
*
58-
* @return callable|null
58+
* @return ?callable
5959
*/
6060
protected function getCreateRecordCallback(): ?callable
6161
{

module/VuFind/src/VuFind/Search/GVI/Explanation.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

33
/**
4-
* Solr Explanation for second Solr index
4+
* Solr Explanation for GVI Solr index
55
*
66
* PHP version 8
77
*
8-
* Copyright (C) Hebis Verbundzentrale 2023.
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,
@@ -22,8 +22,7 @@
2222
*
2323
* @category VuFind
2424
* @package Search_Solr
25-
* @author Dennis Schrittenlocher <Dennis.Schrittenlocher@outlook.de>
26-
* @author Thomas Wagener <wagener@hebis.uni-frankfurt.de>
25+
* @author Stefan Weil <sw@weilnetz.de>
2726
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
2827
* @link https://vufind.org Main Page
2928
*/
@@ -35,8 +34,7 @@
3534
*
3635
* @category VuFind
3736
* @package Search_Solr
38-
* @author Dennis Schrittenlocher <Dennis.Schrittenlocher@outlook.de>
39-
* @author Thomas Wagener <wagener@hebis.uni-frankfurt.de>
37+
* @author Stefan Weil <sw@weilnetz.de>
4038
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
4139
* @link https://vufind.org Main Page
4240
*/

module/VuFind/src/VuFind/Search/GVI/FacetCache.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* PHP version 8
77
*
8-
* Copyright (C) Villanova University 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,
@@ -22,7 +22,7 @@
2222
*
2323
* @category VuFind
2424
* @package Search_GVI
25-
* @author Demian Katz <demian.katz@villanova.edu>
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/wiki/development Wiki
2828
*/
@@ -34,7 +34,7 @@
3434
*
3535
* @category VuFind
3636
* @package Search_GVI
37-
* @author Demian Katz <demian.katz@villanova.edu>
37+
* @author Stefan Weil <sw@weilnetz.de>
3838
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
3939
* @link https://vufind.org/wiki/development Wiki
4040
*/
@@ -45,7 +45,7 @@ class FacetCache extends \VuFind\Search\Base\FacetCache
4545
*
4646
* @return string
4747
*/
48-
protected function getCacheNamespace()
48+
protected function getCacheNamespace(): string
4949
{
5050
return 'gvi-facets';
5151
}

module/VuFind/src/VuFind/Search/GVI/Options.php

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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,
@@ -22,7 +22,7 @@
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
*/
@@ -36,7 +36,7 @@
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
}

module/VuFind/src/VuFind/Search/GVI/Params.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

33
/**
4-
* Search Params for second Solr index
4+
* Search Params 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,
@@ -22,7 +22,7 @@
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
*/
@@ -34,7 +34,7 @@
3434
*
3535
* @category VuFind
3636
* @package Search_GVI
37-
* @author Hajo Seng <hajo.seng@sub.uni-hamburg.de>
37+
* @author Stefan Weil <sw@weilnetz.de>
3838
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
3939
* @link https://vufind.org Main Site
4040
*/
@@ -46,7 +46,7 @@ class Params extends \VuFind\Search\Solr\Params
4646
*
4747
* @var array
4848
*/
49-
protected $defaultFacetLabelSections = [
49+
protected array $defaultFacetLabelSections = [
5050
'Advanced_Facets', 'HomePage_Facets', 'ResultsTop', 'Results',
5151
'ExtraFacetLabels',
5252
];
@@ -56,7 +56,7 @@ class Params extends \VuFind\Search\Solr\Params
5656
*
5757
* @return void
5858
*/
59-
public function initAdvancedFacets()
59+
public function initAdvancedFacets(): void
6060
{
6161
$this->initFacetList('Advanced_Facets', 'Advanced_Settings');
6262
}
@@ -84,7 +84,7 @@ public function getBackendParameters()
8484
*
8585
* @return void
8686
*/
87-
public function initHomePageFacets()
87+
public function initHomePageFacets(): void
8888
{
8989
// Load Advanced settings if HomePage settings are missing (legacy support):
9090
if (!$this->initFacetList('HomePage_Facets', 'HomePage_Facet_Settings')) {

module/VuFind/src/VuFind/Search/GVI/Results.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

33
/**
4-
* Search Results for second Solr index
4+
* Search Results 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,
@@ -22,7 +22,7 @@
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
*/
@@ -34,7 +34,7 @@
3434
*
3535
* @category VuFind
3636
* @package Search_GVI
37-
* @author Hajo Seng <hajo.seng@sub.uni-hamburg.de>
37+
* @author Stefan Weil <sw@weilnetz.de>
3838
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
3939
* @link https://vufind.org Main Site
4040
*/
@@ -45,5 +45,5 @@ class Results extends \VuFind\Search\Solr\Results
4545
*
4646
* @var string
4747
*/
48-
protected $backendId = 'GVI';
48+
protected string $backendId = 'GVI';
4949
}

module/VuFind/src/VuFind/Search/GVI/ResultsFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* PHP version 8
77
*
8-
* Copyright (C) Villanova University 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,
@@ -22,7 +22,7 @@
2222
*
2323
* @category VuFind
2424
* @package Search_GVI
25-
* @author Demian Katz <demian.katz@villanova.edu>
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/wiki/development Wiki
2828
*/
@@ -39,7 +39,7 @@
3939
*
4040
* @category VuFind
4141
* @package Search_GVI
42-
* @author Demian Katz <demian.katz@villanova.edu>
42+
* @author Stefan Weil <sw@weilnetz.de>
4343
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
4444
* @link https://vufind.org/wiki/development Wiki
4545
*/

0 commit comments

Comments
 (0)