Skip to content

Commit

Permalink
More updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdgregg committed May 26, 2021
1 parent d026738 commit c20ab1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Users/UserStatistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c20ab1f

Please sign in to comment.