Skip to content

Commit 7e512c3

Browse files
Add PR #298 doc fix
1 parent 6e6d145 commit 7e512c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/optimizely/bucketer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def find_bucket(bucketing_id, user_id, parent_id, traffic_allocations)
110110
# parent_id - String entity ID to use for bucketing ID
111111
# traffic_allocations - Array of traffic allocations
112112
#
113-
# Returns and array of two values where first value is the entity ID corresponding to the provided bucket value
114-
# or nil if no match is found. The second value contains the array of reasons stating how the deicision was taken
113+
# Returns an array of two values where first value is the entity ID corresponding to the provided bucket value
114+
# or nil if no match is found. The second value contains the array of reasons stating how the decision was taken
115115
decide_reasons = []
116116
bucketing_key = format(BUCKETING_ID_TEMPLATE, bucketing_id: bucketing_id, entity_id: parent_id)
117117
bucket_value = generate_bucket_value(bucketing_key)

0 commit comments

Comments
 (0)