wip: modernized edit flow

This commit is contained in:
Björn Fromme committed 2025-10-08 21:09:53 +02:00
1 parent c3008d7f7a
commit cba0f747cd
75 files changed
+1662 -747

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
namespace App\Twig;
use App\BusProNet\DataProvider\CountryDataProvider;
use App\Form\Model\BookingDtoInterface;
use App\Form\Model\BookingDto;
use App\Service\ParticipantEligibilityService;
use Twig\Environment;
use Twig\Extension\RuntimeExtensionInterface;
@@ -97,7 +97,7 @@ class AppRuntime implements RuntimeExtensionInterface
return $this->countryDataProvider->get($nationality)?->nationality;
}
public function isParticipantEligible(BookingDtoInterface $bookingDto, int $participantIndex): bool
public function isParticipantEligible(BookingDto $bookingDto, int $participantIndex): bool
{
return $this->participantEligibilityService->isParticipantEligible($bookingDto, $participantIndex);
}