mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-16 00:08:41 +00:00
fix tests
This commit is contained in:
parent
3273f39ff0
commit
acca610798
|
|
@ -127,7 +127,7 @@ final class SalesBillMapper extends BillMapper
|
||||||
->execute()
|
->execute()
|
||||||
?->fetch();
|
?->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