Skip to content

Commit e60d1c5

Browse files
oakbanimauerbac
authored andcommitted
✏️ Remove unneeded method param (#63)
1 parent 1cb9fb7 commit e60d1c5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Optimizely/Event/Builder/EventBuilder.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,9 @@ private function getImpressionParams(Experiment $experiment, $variationId)
155155
* @param $config ProjectConfig Configuration for the project.
156156
* @param $eventKey string Key representing the event.
157157
* @param $experimentVariationMap array Map of experiment ID to the ID of the variation that the user is bucketed into.
158-
* @param $userId string ID of user.
159158
* @param $eventTags array Hash representing metadata associated with the event.
160159
*/
161-
private function getConversionParams($config, $eventKey, $experimentVariationMap, $userId, $eventTags)
160+
private function getConversionParams($config, $eventKey, $experimentVariationMap, $eventTags)
162161
{
163162

164163
$conversionParams = [];
@@ -244,7 +243,7 @@ public function createConversionEvent($config, $eventKey, $experimentVariationMa
244243
{
245244

246245
$eventParams = $this->getCommonParams($config, $userId, $attributes);
247-
$conversionParams = $this->getConversionParams($config, $eventKey, $experimentVariationMap, $userId, $eventTags);
246+
$conversionParams = $this->getConversionParams($config, $eventKey, $experimentVariationMap, $eventTags);
248247

249248
$eventParams[VISITORS][0][SNAPSHOTS] = $conversionParams;
250249
return new LogEvent(self::$ENDPOINT, $eventParams, self::$HTTP_VERB, self::$HTTP_HEADERS);

0 commit comments

Comments
 (0)