improve docblocks

This commit is contained in:
Dennis Eichhorn 2020-02-12 19:53:07 +01:00
parent 2ef267c98a
commit fe8a3bf597

View File

@ -62,10 +62,10 @@ class Invoice implements \JsonSerializable
/**
* Invoice created at.
*
* @var null|\DateTime
* @var \DateTime
* @since 1.0.0
*/
private ?\DateTime $createdAt = null;
private \DateTime $createdAt;
/**
* Invoice send at.
@ -303,7 +303,7 @@ class Invoice implements \JsonSerializable
*
* @since 1.0.0
*/
public function getCreatedBy() : int
public function getCreatedBy()
{
return $this->createdBy;
}