WiP
This commit is contained in:
1 parent
37039f082c
commit
33b4a249cc
9 files changed
+303
-42
No files matched your search
@@ -37,8 +37,9 @@ class Amount {
|
||||
|> function (string $value) : string { return str_replace('.', ',', $value); };
|
||||
}
|
||||
|
||||
public function addAmount(Amount $amount) : void {
|
||||
public function addAmount(Amount $amount) : Amount {
|
||||
$this->amount += $amount->getAmount();
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function subtractAmount(Amount $amount) : void {
|
||||
|
||||
Reference in new issue
Block a user