feat: remove deprecated booking service alias

This commit is contained in:
Björn Fromme
2026-04-13 12:23:57 +02:00
parent 16cab4b768
commit e179bbe259
2 changed files with 21 additions and 40 deletions
-19
View File
@@ -232,14 +232,6 @@ class BookingService
}
}
/**
* @deprecated Use preselectDefaultServices() instead.
*/
public function preselectMandatoryServices(BookingDto $bookingDto): void
{
$this->preselectDefaultServices($bookingDto);
}
private function canPreselectServicesForParticipant(
BookingDto $bookingDto,
int $participantIndex,
@@ -649,15 +641,4 @@ class BookingService
$bookingDto->bookingStatus = $this->bookingStatusRuleRegistry->evaluateStatus($bookingDto);
}
/**
* Ensures the booking DTO has the correct number of participant objects.
*
* Creates or removes ParticipantDto objects based on room selections.
* Preserves existing participant data when adjusting the count.
* Optionally prepopulates the applicant (index 0) from an authenticated user.
*
* @param BookingDto $bookingDto The booking DTO to update
* @param \Symfony\Component\Security\Core\User\UserInterface|null $user Optional authenticated user for prepopulation
* @param callable|null $prepopulateCallback Callback to prepopulate applicant: fn(UserInterface, ParticipantDto): ParticipantDto
*/
}