From c8b6de3e542ef1c755c31ca194541379cdf4625a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 10 Sep 2020 20:40:12 +0200 Subject: [PATCH] fix typehint --- Models/KanbanBoard.php | 4 ++-- Models/KanbanCard.php | 4 ++-- Models/KanbanCardComment.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Models/KanbanBoard.php b/Models/KanbanBoard.php index 5b1c462..2f132f7 100755 --- a/Models/KanbanBoard.php +++ b/Models/KanbanBoard.php @@ -217,11 +217,11 @@ class KanbanBoard implements \JsonSerializable /** * Get created at date time * - * @return \DateTime + * @return \DateTimeImmutable * * @since 1.0.0 */ - public function getCreatedAt() : \DateTimeInterface + public function getCreatedAt() : \DateTimeImmutable { return $this->createdAt; } diff --git a/Models/KanbanCard.php b/Models/KanbanCard.php index e5bd2e1..e825099 100755 --- a/Models/KanbanCard.php +++ b/Models/KanbanCard.php @@ -306,11 +306,11 @@ class KanbanCard implements \JsonSerializable /** * Get created at date time * - * @return \DateTime + * @return \DateTimeImmutable * * @since 1.0.0 */ - public function getCreatedAt() : \DateTimeInterface + public function getCreatedAt() : \DateTimeImmutable { return $this->createdAt; } diff --git a/Models/KanbanCardComment.php b/Models/KanbanCardComment.php index 6e20e0d..f7ccd39 100755 --- a/Models/KanbanCardComment.php +++ b/Models/KanbanCardComment.php @@ -155,11 +155,11 @@ class KanbanCardComment implements \JsonSerializable /** * Get created at date time * - * @return \DateTime + * @return \DateTimeImmutable * * @since 1.0.0 */ - public function getCreatedAt() : \DateTimeInterface + public function getCreatedAt() : \DateTimeImmutable { return $this->createdAt; }