convertDate($claims[$claim]); } return $claims; } private function convertDate(DateTimeImmutable $date): int { return $date->getTimestamp(); } }