Skip to content

Commit 32e3a02

Browse files
mikechu-optimizelyNomanShoaib
authored andcommitted
Fix <return> method doc for IsFeatureEnabled (#329)
1 parent c89aa98 commit 32e3a02

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

OptimizelySDK/Optimizely.cs

+4-2
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,10 @@ public Variation GetForcedVariation(string experimentKey, string userId)
447447
/// <param name="featureKey">The feature key</param>
448448
/// <param name="userId">The user ID</param>
449449
/// <param name="userAttributes">The user's attributes.</param>
450-
/// <returns>True if feature is enabled, false or null otherwise</returns>
451-
public virtual bool IsFeatureEnabled(string featureKey, string userId, UserAttributes userAttributes = null)
450+
/// <returns>True if feature is enabled, otherwise false</returns>
451+
public virtual bool IsFeatureEnabled(string featureKey, string userId,
452+
UserAttributes userAttributes = null
453+
)
452454
{
453455
var config = ProjectConfigManager?.GetConfig();
454456

0 commit comments

Comments
 (0)