mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
allow nullable values
This commit is contained in:
parent
112fa6507f
commit
844374da20
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue