From 844374da20e4c60517e3ab31fa4dc52d29aa0441 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 7 Jul 2024 10:02:32 +0300 Subject: [PATCH] allow nullable values --- src/Entity/Browser/Container/Tab/Page/Title.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/Browser/Container/Tab/Page/Title.php b/src/Entity/Browser/Container/Tab/Page/Title.php index 1fce471d..650294dd 100644 --- a/src/Entity/Browser/Container/Tab/Page/Title.php +++ b/src/Entity/Browser/Container/Tab/Page/Title.php @@ -16,8 +16,8 @@ class Title // Defaults private int $_ellipsize = 3; private int $_length = 12; - private string $_value = 'New page'; - private string $_subtitle = ''; + private ?string $_value = 'New page'; + private ?string $_subtitle = null; public function __construct( \Yggverse\Yoda\Entity\Browser\Container\Tab\Page $page,