From 49fa2450cdc014bc5f4457b4fcd516a31e1c39bf Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 10 Sep 2020 20:40:12 +0200 Subject: [PATCH] fix typehint --- Models/BatchPosting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/BatchPosting.php b/Models/BatchPosting.php index 0ca274c..4bf1fa8 100644 --- a/Models/BatchPosting.php +++ b/Models/BatchPosting.php @@ -115,11 +115,11 @@ class BatchPosting implements \Countable /** * Get created. * - * @return \DateTime + * @return \DateTimeImmutable * * @since 1.0.0 */ - public function getCreatedAt() : \DateTimeInterface + public function getCreatedAt() : \DateTimeImmutable { return $this->created; }