Skip to content

Commit

Permalink
Merge pull request #62 from alex-dna/fix/menu-item-title
Browse files Browse the repository at this point in the history
Allow for empty menu title
  • Loading branch information
wilr authored Aug 8, 2024
2 parents 11f4d9c + c1f94f5 commit 5d833c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MenuItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public function __get($field)
/**
* @return mixed
*/
public function getTitle(): string
public function getTitle(): ?string
{
return $this->MenuTitle;
}
Expand Down

0 comments on commit 5d833c5

Please sign in to comment.