Skip to content

Commit 1a5dbda

Browse files
committed
updated comments
1 parent 1940b8d commit 1a5dbda

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/SplitIO/Grammar/Condition.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ public function match($key, array $attributes = null, $bucketingKey = null)
7575
//Check if Matcher has attributes
7676
if (!$matcher->hasAttribute()) {
7777
// scenario 1: no attr in matcher
78-
// e.g. if user is in segment all then split 100:on
78+
// e.g. if user is in segment all then feature flag 100:on
7979
$_evaluation = $matcher->evaluate($key);
8080
} else {
8181
// scenario 2: attribute provided but no attribute value provided. Matcher does not match
82-
// e.g. if user.age is >= 10 then split 100:on
82+
// e.g. if user.age is >= 10 then feature flag 100:on
8383
if ($attributes === null || !isset($attributes[$matcher->getAttribute()])) {
8484
$_evaluation = false;
8585
} else {

0 commit comments

Comments
 (0)