From 18544b106ce7d90a3d78e4e262cf4c6fe4c3270e Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 23 Aug 2024 14:04:43 +0100 Subject: [PATCH] Fixes issues: TransactionTimePeriod - should it be public constructor? #60 --- src/Entities/Transaction/TransactionTimePeriod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entities/Transaction/TransactionTimePeriod.php b/src/Entities/Transaction/TransactionTimePeriod.php index 200324b..24fab87 100644 --- a/src/Entities/Transaction/TransactionTimePeriod.php +++ b/src/Entities/Transaction/TransactionTimePeriod.php @@ -15,7 +15,7 @@ class TransactionTimePeriod { - private function __construct( + public function __construct( public \DateTimeInterface $startsAt, public \DateTimeInterface $endsAt, ) {