mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Fixed coding style.
This commit is contained in:
parent
a5e1f02d27
commit
ae75e6844f
41 changed files with 147 additions and 163 deletions
|
@ -176,7 +176,7 @@ class PricedetailHelper
|
|||
|
||||
$converted = $this->convertMoneyToCurrency($pricedetail->getPricePerUnit(), $pricedetail->getCurrency(), $currency);
|
||||
//Ignore price informations that can not be converted to base currency.
|
||||
if ($converted !== null) {
|
||||
if (null !== $converted) {
|
||||
$avg = bcadd($avg, $converted, Pricedetail::PRICE_PRECISION);
|
||||
++$count;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue