Skip to content

Commit 60050a6

Browse files
authored
fix comment error on isFeatureEnabled and getEnabledFeatures (#275)
1 parent f66f464 commit 60050a6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sources/Optimizely/OptimizelyClient.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ open class OptimizelyClient: NSObject {
344344
/// - userId: The user ID to be used for bucketing.
345345
/// - attributes: The user's attributes.
346346
/// - Returns: true if feature is enabled, false otherwise.
347-
/// - Throws: `OptimizelyError` if feature parameter is not valid
348347
public func isFeatureEnabled(featureKey: String,
349348
userId: String,
350349
attributes: OptimizelyAttributes? = nil) -> Bool {
@@ -565,7 +564,6 @@ open class OptimizelyClient: NSObject {
565564
/// - userId: The user ID to be used for bucketing.
566565
/// - attributes: The user's attributes.
567566
/// - Returns: Array of feature keys that are enabled for the user.
568-
/// - Throws: `OptimizelyError` if feature parameter is not valid
569567
public func getEnabledFeatures(userId: String,
570568
attributes: OptimizelyAttributes? = nil) -> [String] {
571569

0 commit comments

Comments
 (0)