calculateDays($request->from(), $request->to()); return new JsonResponse($days->map(fn(Carbon $day): string => $day->toDateString())->all()); } }