chore: cgl cleanup

This commit is contained in:
Björn Fromme committed 2026-04-16 13:34:54 +02:00
1 parent c0cc183c59
commit a927d6bf59
26 files changed
+45 -66

No files matched your search

+3 -1
View File
@@ -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));