validated('type'), body: $request->validated('body'), ); } public static function fromUpdateRequest(UpdateHistoryEntryRequest $request): self { return new self( type: null, body: $request->validated('body'), ); } }