|string> */ public function rules(): array { return [ 'dns_manager_domain_id' => 'nullable|integer|exists:dns_manager_domain,id', 'service_id' => 'nullable|integer|exists:services,id', 'hosting_plan' => 'sometimes|required|string|max:100', ]; } }