From e464e6122c7beab9606da525876e3683f209425e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 10 Sep 2020 20:40:12 +0200 Subject: [PATCH] fix typehint --- Models/EditorDoc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/EditorDoc.php b/Models/EditorDoc.php index e1aff0b..556dc6a 100755 --- a/Models/EditorDoc.php +++ b/Models/EditorDoc.php @@ -159,11 +159,11 @@ class EditorDoc implements \JsonSerializable, ArrayableInterface /** * Get created at * - * @return \DateTime + * @return \DateTimeImmutable * * @since 1.0.0 */ - public function getCreatedAt() : \DateTimeInterface + public function getCreatedAt() : \DateTimeImmutable { return $this->createdAt; }