feat: improved mutability checks for personal data in edit or create mode
This commit is contained in:
@@ -586,21 +586,6 @@ class TravelDataService
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch availability data with short-term caching.
|
||||
*
|
||||
* @deprecated Use getAvailabilityData($dateId, cached: true) instead
|
||||
*
|
||||
* @param int $dateId The travel date ID for API call
|
||||
* @param int $ttl Cache TTL in seconds (default: 60 seconds)
|
||||
*
|
||||
* @return BaseData|null The availability data or null if not available or error occurred
|
||||
*/
|
||||
public function getAvailabilityDataCached(int $dateId, int $ttl = 60): ?BaseData
|
||||
{
|
||||
return $this->getAvailabilityData($dateId, cached: true, ttl: $ttl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply availability data to travel services.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user