From 4222c4336a25ccebfb74d3f90234029641015e66 Mon Sep 17 00:00:00 2001 From: QuentinGab Date: Wed, 17 May 2023 20:36:25 +0000 Subject: [PATCH] Fix styling --- src/InvoiceDiscount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InvoiceDiscount.php b/src/InvoiceDiscount.php index 5ee86ae..3850aa1 100644 --- a/src/InvoiceDiscount.php +++ b/src/InvoiceDiscount.php @@ -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); }