Skip to content

Commit

Permalink
Change <cbc:MultiplierFactorNumeric /> type from int to float. F…
Browse files Browse the repository at this point in the history
…ixes num-num#44.
  • Loading branch information
TSimkus committed Jan 18, 2024
1 parent 3ee8087 commit e63c07f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Changelog for version x

### New features & improvements

- Changed `<cbc:MultiplierFactorNumeric />` type from `int` to `float`.

# Changelog for version 1.17.0

### New features & improvements
Expand Down
8 changes: 4 additions & 4 deletions src/AllowanceCharge.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@ public function setAllowanceChargeReason(?string $allowanceChargeReason): Allowa
}

/**
* @return int
* @return float
*/
public function getMultiplierFactorNumeric(): ?int
public function getMultiplierFactorNumeric(): ?float
{
return $this->multiplierFactorNumeric;
}

/**
* @param int $multiplierFactorNumeric
* @param float $multiplierFactorNumeric
* @return AllowanceCharge
*/
public function setMultiplierFactorNumeric(?int $multiplierFactorNumeric): AllowanceCharge
public function setMultiplierFactorNumeric(?float $multiplierFactorNumeric): AllowanceCharge
{
$this->multiplierFactorNumeric = $multiplierFactorNumeric;
return $this;
Expand Down

0 comments on commit e63c07f

Please sign in to comment.