$materials */ public function __construct( public WorkflowStepTitle $title, ?string $description = null, public ?int $workTypeId = null, public array $materials = [], ) { $description = $description === null ? '' : trim($description); $this->description = $description === '' ? null : $description; } }