From 02244b6ed91ce8972074eb1a02df0e219bc5b689 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Sun, 19 Apr 2026 23:12:52 +0300 Subject: [PATCH] make CreatePlanRequest properties nullable --- app/Plan/UseCases/CreatePlanRequest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Plan/UseCases/CreatePlanRequest.php b/app/Plan/UseCases/CreatePlanRequest.php index 2af3e1e..d9e0669 100644 --- a/app/Plan/UseCases/CreatePlanRequest.php +++ b/app/Plan/UseCases/CreatePlanRequest.php @@ -5,8 +5,8 @@ namespace App\Plan\UseCases; class CreatePlanRequest { public function __construct( - public int $userId, - public int $textId, - public string $name, + public ?int $userId, + public ?int $textId, + public ?string $name, ) {} }