feat: remove deprecated booking service alias
This commit is contained in:
@@ -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
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user