We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
IN
1 parent 1d0f384 commit e849d6eCopy full SHA for e849d6e
src/Engine/Engine.php
@@ -288,7 +288,8 @@ private static function _contextMatchesCondition(
288
$inValues = explode(',', $condition->value);
289
}
290
291
- $inValues = array_map($cast, $inValues);
+ $contextValue = strval($contextValue);
292
+ $inValues = array_map('strval', $inValues);
293
return in_array($contextValue, $inValues, strict: true);
294
295
case SegmentConditionOperator::PERCENTAGE_SPLIT:
0 commit comments