Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #33 from Azare77/master
Browse files Browse the repository at this point in the history
change $am data type to float
  • Loading branch information
rahimi-ali committed Mar 5, 2024
2 parents cf178ea + 65a5890 commit 9d07b1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Dto/InvoiceBodyDto.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class InvoiceBodyDto extends PrimitiveDto
/**
* amount
*/
private int $am;
private float $am;

/**
* measurement unit
Expand Down Expand Up @@ -177,12 +177,12 @@ public function setSstt(string $sstt): self
return $this;
}

public function getAm(): int
public function getAm(): float
{
return $this->am;
}

public function setAm(int $am): self
public function setAm(float $am): self
{
$this->am = $am;
return $this;
Expand Down

0 comments on commit 9d07b1d

Please sign in to comment.