From 577cbbdc4e37886d3f374abe5f40658957f94907 Mon Sep 17 00:00:00 2001 From: Nate Harris Date: Wed, 12 Jun 2024 11:29:04 -0600 Subject: [PATCH] - Linting (inconsistency between IDE and CI) --- EasyPost/Parameters/BaseParameters.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EasyPost/Parameters/BaseParameters.cs b/EasyPost/Parameters/BaseParameters.cs index e8db7789..b888fc4d 100644 --- a/EasyPost/Parameters/BaseParameters.cs +++ b/EasyPost/Parameters/BaseParameters.cs @@ -80,7 +80,7 @@ public virtual Dictionary ToDictionary() // Check dependent parameters before we finish handling the current parameter IEnumerable dependentParameterAttributes = property.GetCustomAttributes(); - foreach (var dependentParameterAttribute in dependentParameterAttributes) + foreach (TopLevelRequestParameterDependentsAttribute dependentParameterAttribute in dependentParameterAttributes) { Tuple dependentParameterResult = dependentParameterAttribute.DependentsAreCompliant(this, value); if (!dependentParameterResult.Item1) @@ -140,8 +140,8 @@ public virtual Dictionary ToSubDictionary(Type parentParameterOb object? value = property.GetValue(this); // Check dependent parameters before we finish handling the current parameter - IEnumerable dependentParameterAttributes = property.GetCustomAttributes(); - foreach (var dependentParameterAttribute in dependentParameterAttributes) + IEnumerable dependentParameterAttributes = property.GetCustomAttributes(); + foreach (NestedRequestParameterDependentsAttribute dependentParameterAttribute in dependentParameterAttributes) { Tuple dependentParameterResult = dependentParameterAttribute.DependentsAreCompliant(this, value); if (!dependentParameterResult.Item1)