From fe8a3bf59760dbf1585227b1140f8601bdd2070f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 12 Feb 2020 19:53:07 +0100 Subject: [PATCH] improve docblocks --- Models/Invoice.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }