@@ -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