make CreatePlanRequest properties nullable
This commit is contained in:
parent
86052efbcb
commit
02244b6ed9
1 changed files with 3 additions and 3 deletions
|
|
@ -5,8 +5,8 @@ namespace App\Plan\UseCases;
|
||||||
class CreatePlanRequest
|
class CreatePlanRequest
|
||||||
{
|
{
|
||||||
public function __construct(
|
public function __construct(
|
||||||
public int $userId,
|
public ?int $userId,
|
||||||
public int $textId,
|
public ?int $textId,
|
||||||
public string $name,
|
public ?string $name,
|
||||||
) {}
|
) {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue