From 94f3f7af10cb64550437849f12aafb3aaac93a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 19 Jun 2024 08:39:42 +0200 Subject: [PATCH] chore: code cleanup --- src/Entity/Disposition.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Disposition.php b/src/Entity/Disposition.php index c4eb649..0b07ffd 100644 --- a/src/Entity/Disposition.php +++ b/src/Entity/Disposition.php @@ -214,7 +214,7 @@ class Disposition implements BlameableEntityInterface, TimestampableEntityInterf $assignment = $this->getAssignment(); $assignmentPeriod = $assignment->getEffectivePeriod(); - $dueDateFrom = $this->getCreatedAt()->modify('+ 7days'); + $dueDateFrom = $this->getCreatedAt()->modify('+7 days'); $dueDateTo = $assignmentPeriod->end->modify('-1 day'); $period = CarbonPeriod::create($dueDateFrom, $dueDateTo);