feat: add typed dto for cms data

This commit is contained in:
Björn Fromme
2026-04-12 18:17:54 +02:00
parent 6ab34fa87c
commit 16cab4b768
13 changed files with 78 additions and 34 deletions
+3 -1
View File
@@ -4,6 +4,8 @@ declare(strict_types=1);
namespace App\Form\Model;
use App\Model\BookingSummaryCmsHotelDto;
/**
* DTO containing all booking summary data for sidebar display.
*/
@@ -17,7 +19,7 @@ class BookingSummaryDto
public readonly int $participantCount,
public readonly BookingSummaryPricingDto $pricing,
public readonly BookingSummaryVoucherDto $vouchers,
public readonly ?array $cmsData,
public readonly ?BookingSummaryCmsHotelDto $cmsData,
) {
}
}