Skip to content

Commit

Permalink
Allow for empty menu title
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dna committed Apr 8, 2024
1 parent f3421e5 commit c1f94f5
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 c1f94f5

Please sign in to comment.