Repository navigation
v3.1.2 - ClubReservation accepts numeric fields
USAG sends ClubContactID, MeetContactID, ClubContactPhone and MeetContactPhone as JSON numbers. ClubReservation::fromArray() passed them unchanged into ?string parameters, so reservations()->clubs() threw a TypeError for every live sanction.
Fixed
- Every
ClubReservationtext field now casts JSON numbers to strings. Empty values ('',null,0) staynull, as before. (#6, #7)
Backport to the 3.x line (release/3.x). No breaking changes from v3.1.1.