Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGab authored and github-actions[bot] committed May 17, 2023
1 parent bebabbe commit 4222c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InvoiceDiscount.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function computeDiscountAmountOn(Money $amout): Money
return $this->amount_off;
}

if (!is_null($this->percent_off)) {
if (! is_null($this->percent_off)) {
return $amout->multipliedBy($this->percent_off / 100, RoundingMode::HALF_CEILING);
}

Expand Down

0 comments on commit 4222c43

Please sign in to comment.