Skip to content

Commit

Permalink
comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
ozayr-zaviar committed Aug 24, 2021
1 parent 8d23eeb commit 5304778
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Optimizely/OptimizelyConfig/OptimizelyConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ public function getDatafile()
*/
public function getExperimentsMap()
{
# This experimentsMap is deprecated. Use experimentRules and deliveryRules instead.
return $this->experimentsMap;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ protected function getSerializedAudiences(array $audienceConditions)
$subAudience = '';
// Checks if item is list of conditions means if it is sub audience
if (is_array($var)) {
$subAudience = $subAudience = '(' . $this->getSerializedAudiences($var) . ')';
$subAudience = '(' . $this->getSerializedAudiences($var) . ')';
} elseif (in_array($var, $operators, true)) {
$cond = strtoupper(strval($var));
} else {
Expand Down
1 change: 1 addition & 0 deletions src/Optimizely/OptimizelyConfig/OptimizelyFeature.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public function getDeliveryRules()
*/
public function getExperimentsMap()
{
# This experimentsMap is deprecated. Use experimentRules and deliveryRules instead.
return $this->experimentsMap;
}

Expand Down

0 comments on commit 5304778

Please sign in to comment.