mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-19 00:58:34 +02:00
Fixed some inspection issues.
This commit is contained in:
parent
639829f5c5
commit
8e6bc25d2e
19 changed files with 39 additions and 40 deletions
|
@ -146,10 +146,10 @@ class PricedetailHelper
|
|||
/**
|
||||
* Calculates the average price of a part, when ordering the amount $amount.
|
||||
*
|
||||
* @param Part $part the part for which the average price should be calculated
|
||||
* @param float $amount The order amount for which the average price should be calculated.
|
||||
* @param Part $part the part for which the average price should be calculated
|
||||
* @param float|null $amount The order amount for which the average price should be calculated.
|
||||
* If set to null, the mininmum order amount for the part is used.
|
||||
* @param Currency|null $currency The currency in which the average price should be calculated
|
||||
* @param Currency|null $currency The currency in which the average price should be calculated
|
||||
*
|
||||
* @return BigDecimal|null The Average price as bcmath string. Returns null, if it was not possible to calculate the
|
||||
* price for the given
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue