mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 11:24:31 +02:00
Fixed code style.
This commit is contained in:
parent
1aed1d1d26
commit
9a7223a301
142 changed files with 534 additions and 716 deletions
|
@ -41,8 +41,6 @@ class PricedetailHelper
|
|||
/**
|
||||
* Determines the highest amount, for which you get additional discount.
|
||||
* This function determines the highest min_discount_quantity for the given part.
|
||||
*
|
||||
* @return float|null
|
||||
*/
|
||||
public function getMaxDiscountAmount(Part $part): ?float
|
||||
{
|
||||
|
@ -87,7 +85,7 @@ class PricedetailHelper
|
|||
/**
|
||||
* Determines the minimum amount of the part that can be ordered.
|
||||
*
|
||||
* @param Part $part The part for which the minimum order amount should be determined.
|
||||
* @param Part $part the part for which the minimum order amount should be determined
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
|
@ -123,7 +121,7 @@ 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 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.
|
||||
* 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue