chore: cgl cleanup
This commit is contained in:
1 parent
c0cc183c59
commit
a927d6bf59
26 files changed
+45
-66
No files matched your search
@@ -162,14 +162,16 @@ class TravelSnapshotManager
|
||||
|
||||
/**
|
||||
* Refreshes snapshot payloads with extended availability data.
|
||||
*
|
||||
* @param array<int>|null $xmlAvailableDateIds
|
||||
*
|
||||
* @return array{processed:int,updated:int,failed:int}
|
||||
*/
|
||||
public function refreshExtendedSnapshots(
|
||||
int $limit = 500,
|
||||
bool $force = false,
|
||||
int $refreshAfterMinutes = 360,
|
||||
?array $xmlAvailableDateIds = null
|
||||
?array $xmlAvailableDateIds = null,
|
||||
): array {
|
||||
$dateToThreshold = new \DateTimeImmutable('today');
|
||||
$refreshBefore = new \DateTimeImmutable(sprintf('-%d minutes', $refreshAfterMinutes));
|
||||
|
||||
Reference in new issue
Block a user