timeslotList, fn ($value) => $value instanceof PickupTimeSlot, 'All elements of $timeslotList must be instances of PickupTimeSlot' ); } }