From 4a5641f7afb90e90d3607589d62ad578c515f731 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 10 Sep 2020 20:40:12 +0200 Subject: [PATCH] fix typehint --- Models/Supplier.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/Supplier.php b/Models/Supplier.php index 9afe478..06cff70 100644 --- a/Models/Supplier.php +++ b/Models/Supplier.php @@ -243,11 +243,11 @@ class Supplier /** * Get created at date time * - * @return \DateTime + * @return \DateTimeImmutable * * @since 1.0.0 */ - public function getCreatedAt() : \DateTimeInterface + public function getCreatedAt() : \DateTimeImmutable { return $this->createdAt; }