mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-23 12:24:45 +02:00
Fixed code style.
This commit is contained in:
parent
1aed1d1d26
commit
9a7223a301
142 changed files with 534 additions and 716 deletions
|
@ -130,7 +130,7 @@ class Pricedetail extends DBElement
|
|||
/**
|
||||
* Get the orderdetail to which this pricedetail belongs to this pricedetails.
|
||||
*
|
||||
* @return Orderdetail The orderdetail this price belongs to.
|
||||
* @return Orderdetail the orderdetail this price belongs to
|
||||
*/
|
||||
public function getOrderdetail(): Orderdetail
|
||||
{
|
||||
|
@ -141,7 +141,7 @@ class Pricedetail extends DBElement
|
|||
* Returns the price associated with this pricedetail.
|
||||
* It is given in current currency and for the price related quantity.
|
||||
*
|
||||
* @return string The price as string, like returned raw from DB.
|
||||
* @return string the price as string, like returned raw from DB
|
||||
*/
|
||||
public function getPrice(): string
|
||||
{
|
||||
|
@ -215,8 +215,6 @@ class Pricedetail extends DBElement
|
|||
/**
|
||||
* Returns the currency associated with this price information.
|
||||
* Returns null, if no specific currency is selected and the global base currency should be assumed.
|
||||
*
|
||||
* @return Currency|null
|
||||
*/
|
||||
public function getCurrency(): ?Currency
|
||||
{
|
||||
|
@ -232,7 +230,6 @@ class Pricedetail extends DBElement
|
|||
/**
|
||||
* Sets the orderdetail to which this pricedetail belongs to.
|
||||
*
|
||||
* @param Orderdetail $orderdetail
|
||||
* @return $this
|
||||
*/
|
||||
public function setOrderdetail(Orderdetail $orderdetail): self
|
||||
|
@ -246,7 +243,6 @@ class Pricedetail extends DBElement
|
|||
* Sets the currency associated with the price informations.
|
||||
* Set to null, to use the global base currency.
|
||||
*
|
||||
* @param Currency|null $currency
|
||||
* @return Pricedetail
|
||||
*/
|
||||
public function setCurrency(?Currency $currency): self
|
||||
|
@ -264,8 +260,6 @@ class Pricedetail extends DBElement
|
|||
* * This is the price for "price_related_quantity" parts!!
|
||||
* * Example: if "price_related_quantity" is '10',
|
||||
* you have to set here the price for 10 parts!
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setPrice(string $new_price): self
|
||||
{
|
||||
|
@ -286,8 +280,6 @@ class Pricedetail extends DBElement
|
|||
* quantity to 100. The single price (20$/100 = 0.2$) will be calculated automatically.
|
||||
*
|
||||
* @param float $new_price_related_quantity the price related quantity
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setPriceRelatedQuantity(float $new_price_related_quantity): self
|
||||
{
|
||||
|
@ -312,8 +304,6 @@ class Pricedetail extends DBElement
|
|||
* So the orderdetails would have three Pricedetails for one supplier.)
|
||||
*
|
||||
* @param float $new_min_discount_quantity the minimum discount quantity
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setMinDiscountQuantity(float $new_min_discount_quantity): self
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue