mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
allow nullable values
This commit is contained in:
parent
112fa6507f
commit
844374da20
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user