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