make CreateNodeRequest properties nullable
This commit is contained in:
parent
a429b647cc
commit
23f4e70e57
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ namespace App\Node\UseCases;
|
||||||
class CreateNodeRequest
|
class CreateNodeRequest
|
||||||
{
|
{
|
||||||
public function __construct(
|
public function __construct(
|
||||||
public int $textId,
|
public ?int $textId,
|
||||||
public string $title,
|
public ?string $title,
|
||||||
public ?int $parentNodeId,
|
public ?int $parentNodeId,
|
||||||
) {}
|
) {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue