chore: code cleanup

This commit is contained in:
Björn Fromme
2024-06-19 08:39:42 +02:00
parent a0e02b0b99
commit 94f3f7af10
+1 -1
View File
@@ -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);