move instantiation of date time immutable to use case. request gets a string

This commit is contained in:
Yisroel Baum 2026-04-23 20:09:17 +03:00
parent d7fdbc20ee
commit c32087c35d
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
4 changed files with 8 additions and 10 deletions

View file

@ -2,12 +2,10 @@
namespace App\ScheduledNode\UseCases;
use DateTimeImmutable;
class CreateScheduledNodeRequest
{
public function __construct(
public ?DateTimeImmutable $date,
public ?string $date,
public ?int $planId,
) {}
}