diff --git a/src/Users/UserStatistics.php b/src/Users/UserStatistics.php index 5f10e17..a83d094 100644 --- a/src/Users/UserStatistics.php +++ b/src/Users/UserStatistics.php @@ -145,10 +145,10 @@ public function removeStatistic($typeCode,$categoryCode) * Update a user statistic. * */ - public function updateStatistic($fromTypeCode,$fromCategoryCode,$toTypeCode,$toCategoryCode,$segementType,$note) + public function updateStatistic($fromTypeCode,$fromCategoryCode,$toTypeCode,$toCategoryCode,$segmentType,$note) { /* Remove "from" statistic, then add "to" statistic */ - $this->removeStatistic($fromTypeCode,$categoryCode); + $this->removeStatistic($fromTypeCode,$fromCategoryCode); $this->addStatistic($toTypeCode,$toCategoryCode,$segmentType,$note); }