mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-01-28 15:28:40 +00:00
fix tests
This commit is contained in:
parent
3273f39ff0
commit
acca610798
|
|
@ -127,7 +127,7 @@ final class SalesBillMapper extends BillMapper
|
|||
->execute()
|
||||
?->fetch();
|
||||
|
||||
return new Money($result === false || $result[1] ?? 0 === 0 ? 0 : (int) (((int) $result[0] ?? 0) / ((int) $result[1] ?? 0)));
|
||||
return new Money($result === false || $result[1] ?? 0 === 0 ? 0 : (int) (((int) $result[0] ?? 0) / ((int) $result[1] ?? 1)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user