diff --git a/Models/Invoice.php b/Models/Invoice.php index 7c38b0d..4cce215 100644 --- a/Models/Invoice.php +++ b/Models/Invoice.php @@ -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; }