Skip to content

Commit 3e29ccb

Browse files
committed
Rename getPublicationDateRange to getPublicationDateRanges.
1 parent 8a24c84 commit 3e29ccb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RecordManager/Base/Record/Marc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public function toSolrArray(?Database $db = null)
308308
$data['publisher'] = $this->getPublishers();
309309
$data['publishDateSort'] = $this->getPublicationYear();
310310
$data['publishDate'] = $this->getPublicationYears();
311-
$data['publishDateRange'] = $this->getPublicationDateRange();
311+
$data['publishDateRange'] = $this->getPublicationDateRanges();
312312
$data['physical'] = $this->getPhysicalDescriptions();
313313
$data['dateSpan'] = $this->getDateSpans();
314314
$data['edition'] = $this->getEdition();
@@ -1381,7 +1381,7 @@ protected function getPublicationYears(): array
13811381
*
13821382
* @return array
13831383
*/
1384-
protected function getPublicationDateRange(): array
1384+
protected function getPublicationDateRanges(): array
13851385
{
13861386
return $this->getPublicationYears();
13871387
}

0 commit comments

Comments
 (0)