From 4f2aa1d5ca396336c0f550e2e03340ca8cc479e4 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 10 Sep 2020 20:18:46 +0200 Subject: [PATCH] implement immutable datetime --- Models/BatchPosting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/BatchPosting.php b/Models/BatchPosting.php index ef10d4a..0ca274c 100644 --- a/Models/BatchPosting.php +++ b/Models/BatchPosting.php @@ -119,7 +119,7 @@ class BatchPosting implements \Countable * * @since 1.0.0 */ - public function getCreatedAt() : \DateTime + public function getCreatedAt() : \DateTimeInterface { return $this->created; }