wip: modernized edit flow
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user