Fixed some inspection issues.

This commit is contained in:
Jan Böhmer 2019-11-10 14:00:56 +01:00
parent 3438f15274
commit 6ddc937ec5
32 changed files with 111 additions and 208 deletions

View file

@ -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
{