Skip to content

Commit

Permalink
spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmldr committed Dec 30, 2020
1 parent 78e0a8b commit 71fb8d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ public function calculateVatAmount(Money $amount, Number $percentage): Money
{
$vatAmount = $amount->divide(100, 0)->multiply($percentage);

if ($vatAmount->isNegative()) {
return Money::create(0);
if ($vatAmount->isNegative()) {
return Money::create(0);
}

return $vatAmount;
Expand Down

0 comments on commit 71fb8d7

Please sign in to comment.