Skip to content

Commit

Permalink
Merge pull request pkp#1489 from bozana/9557
Browse files Browse the repository at this point in the history
pkp/pkp-lib#9557 Section::getTitle() and PKPSection::getTitle() can return null
  • Loading branch information
bozana authored Dec 8, 2023
2 parents fdaeb7e + ad8568f commit 0fbed14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/section/Section.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function getLocalizedTitle(bool $includePrefix = true): string
/**
* Get title of series.
*/
public function getTitle(?string $locale, bool $includePrefix = true): string|array
public function getTitle(?string $locale, bool $includePrefix = true): string|array|null
{
$title = $this->getData('title', $locale);
if ($includePrefix) {
Expand Down

0 comments on commit 0fbed14

Please sign in to comment.