mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-21 18:39:31 +00:00
Fixed some inspection issues.
This commit is contained in:
parent
3438f15274
commit
6ddc937ec5
32 changed files with 111 additions and 208 deletions
|
|
@ -117,7 +117,7 @@ class Supplier extends Company
|
|||
/**
|
||||
* Gets the currency that should be used by default, when creating a orderdetail with this supplier.
|
||||
*
|
||||
* @return ?Currency
|
||||
* @return Currency|null
|
||||
*/
|
||||
public function getDefaultCurrency(): ?Currency
|
||||
{
|
||||
|
|
@ -127,7 +127,8 @@ class Supplier extends Company
|
|||
/**
|
||||
* Sets the default currency.
|
||||
*
|
||||
* @param ?Currency $default_currency
|
||||
* @param Currency|null $default_currency
|
||||
* @return Supplier
|
||||
*/
|
||||
public function setDefaultCurrency(?Currency $default_currency): self
|
||||
{
|
||||
|
|
@ -150,6 +151,7 @@ class Supplier extends Company
|
|||
* Sets the shipping costs for an order with this supplier.
|
||||
*
|
||||
* @param string|null $shipping_costs a bcmath string with the shipping costs
|
||||
* @return Supplier
|
||||
*/
|
||||
public function setShippingCosts(?string $shipping_costs): self
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue