make CreatePlanRequest properties nullable

This commit is contained in:
Yisroel Baum 2026-04-19 23:12:52 +03:00
parent 86052efbcb
commit 02244b6ed9
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -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,
) {} ) {}
} }