allow nullable _subtitle value, fix getValue data type returned

This commit is contained in:
yggverse 2024-07-07 08:53:44 +03:00
parent 5c917945b3
commit 112fa6507f
2 changed files with 5 additions and 5 deletions

View file

@ -66,12 +66,12 @@ class Title
);
}
public function getValue(): string
public function getValue(): ?string
{
return $this->gtk->get_text();
}
public function getSubtitle(): string
public function getSubtitle(): ?string
{
return $this->gtk->get_subtitle();
}