docs: add inline documentation where missing
This commit is contained in:
1 parent
2fe9185a6f
commit
ea1ce4a029
18 files changed
+150
No files matched your search
@@ -10,6 +10,12 @@ use Symfony\Component\Validator\Constraint;
|
||||
use Symfony\Component\Validator\ConstraintValidator;
|
||||
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
|
||||
|
||||
/**
|
||||
* Validates room selection business rules for bookings.
|
||||
*
|
||||
* Enforces that at least one room is selected and that baby rooms (BABY code)
|
||||
* are only booked in combination with regular rooms, not standalone.
|
||||
*/
|
||||
class RoomSelectionValidator extends ConstraintValidator
|
||||
{
|
||||
public function validate(mixed $value, Constraint $constraint): void
|
||||
|
||||
Reference in new issue
Block a user