General bug fixes

This commit is contained in:
Dennis Eichhorn 2017-11-11 16:21:30 +01:00
parent 2d8b30919e
commit 61f6fbfba0
2 changed files with 5 additions and 5 deletions

View File

@ -98,7 +98,7 @@ class Invoice implements \JsonSerializable
/** /**
* Person refering for this order. * Person refering for this order.
* *
* @var \DateTime * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
private $referer = 0; private $referer = 0;
@ -385,14 +385,14 @@ class Invoice implements \JsonSerializable
return $this->insurance; return $this->insurance;
} }
public function setFreight(Money $freigth) /* : void */ public function setFreight(Money $freight) /* : void */
{ {
$this->freight = $freight; $this->freight = $freight;
} }
public function getFreigth() : Money public function getFreight() : Money
{ {
return $this->freigth; return $this->freight;
} }
public function getNet() : Money public function getNet() : Money

View File

@ -55,7 +55,7 @@ class InvoiceElement implements \JsonSerializable
private $totalPriceNet = null; private $totalPriceNet = null;
private $taxP = 0; private $taxP = null;
private $taxR = null; private $taxR = null;