allow nullable values

This commit is contained in:
yggverse 2024-07-07 10:02:32 +03:00
parent 112fa6507f
commit 844374da20

View file

@ -16,8 +16,8 @@ class Title
// Defaults // Defaults
private int $_ellipsize = 3; private int $_ellipsize = 3;
private int $_length = 12; private int $_length = 12;
private string $_value = 'New page'; private ?string $_value = 'New page';
private string $_subtitle = ''; private ?string $_subtitle = null;
public function __construct( public function __construct(
\Yggverse\Yoda\Entity\Browser\Container\Tab\Page $page, \Yggverse\Yoda\Entity\Browser\Container\Tab\Page $page,